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.
module using overlay:
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 .