Maven web project missing web-inf/classes

In #7020, the built classes were copied to web-inf/classes as expected when building a maven web project. In the last two EAPs, up to and including #7041 (where I can't even find the web facet settings anymore) this seems to no longer be the case. Am I missing something?

Johan

3 comments

as far as i can see from my own maven web projects, IDEA uses maven output folder.
So if you're using default maven layout, compiled classes should go to target/classes

0

Yes, the target/classes directory is populated, and some resources are copied here (ones located alongside the java source files, as well as a META-INF directory from the default maven resources directory, but two xml schemas in the same resources directory are missing.). However, this directory is not replicated to the exploded webapp directory, nor does it appear in the war file built. I am also missing resources compared to what I would expect from the overridden in the ]]> section of my pom. All of the above worked (and continues to work, as it's what I'm still using) in #7020, but fails in #7041, and the build prior to that (the number of which I don't remember)

Johan

0

Hello Johan,

Please check the next EAP, this should be fixed.

Best regards

Vladislav Kaznacheev
Project Manager, IntelliJ IDEA
http://www.jetbrains.com
"Develop with Pleasure!"

Yes, the target/classes directory is populated, and some resources are
copied here (ones located alongside the java source files, as well as
a META-INF directory from the default maven resources directory, but
two xml schemas in the same resources directory are missing.).
However, this directory is not replicated to the exploded webapp
directory, nor does it appear in the war file built. I am also missing
resources compared to what I would expect from the overridden
<resources> in the <build> section of my pom. All of the above worked
(and continues to work, as it's what I'm still using) in #7020, but
fails in #7041, and the build prior to that (the number of which I
don't remember)

Johan



0

Please sign in to leave a comment.