Maven War Overlay with excludes/includes
Hi folks,
I'm using IntelliJ IDEA 2016.2.5 and I have a problem using maven war overlays with a specific configuration using excludes.
The overlay works fine but the excluded files are not excluded in the IntelliJ artefact contrary to a standard maven build.
Here's an exemple of the maven-war-plugin overlay configuration were i want the overlay to include all files except those in folders named 'folder' :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>${project.groupId}</groupId>
<artifactId>SiteWebWar</artifactId>
<excludes>
<exclude>**/folder/**</exclude>
</excludes>
</overlay>
</overlays>
</configuration>
</plugin>
Thx for the help
Henri
Please sign in to leave a comment.
I'm having the same problem, have you ever solved it?
Unfortunately no, I still have the problem.
Please follow the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-85450