web module using maven war overlay incorrectly packed

Hi,
we're using maven overlays quite extensively. In the pom.xml we configured an overlay war. As long as the overlay can be resolved in the workspace, everything is fine.

But as soon as the referenced overlay war is not in the workspace the resulting war is incorrectly generated.

For example:

overlay war:
src/main/resources/log4j.properties

module using overlay:
src/main/resources/log4j.properties

The war deployed to tomcat contains the src/main/resources/log4j.properties file of the overlay. It should've contained the file of the module using the overlay.

Currently this makes development using overlays very difficult.

Is there any way to get a fix for this in 12.1.x ? We'd be very grateful and happy if this was possible.

This issue looks like the problem described: http://youtrack.jetbrains.com/issue/IDEA-66895 .

Thanks!
Wallaby

2 comments

Can't reproduce.
Please, attach sample project.
I've attached my sample project in comments in http://youtrack.jetbrains.com/issue/IDEA-66895 . Do you have this problem on my sample project?

0

I've reproduced this and attached a sample project to the issue in youtrack.

Thanks a lot for looking into this!

Wallaby

0

Please sign in to leave a comment.