Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.1.1
-
None
-
None
-
None
Description
I have a following configuration of the plugin
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>${war.plugin.version}</version> <configuration> <warSourceDirectory>src/main/webapp</warSourceDirectory> <webXml>src/main/webapp/WEB-INF/web.xml</webXml> <excludes> **/tech_*.properties, **/*log4j*.properties, **/pom.xml, **/JasperReports/*.*, **/app_ffe_cryptography.keystore </excludes> <webResources> <resource> <directory>${basedir}/target/xsd-assembly/</directory> <targetPath>/</targetPath> <includes> <include>xsd/**/*.xsd</include> <include>wsdl/**/*.wsdl</include> </includes> </resource> </webResources> </configuration> </plugin>
If war.plugin.version is set to 2.0.1 then resulting war does not contain tech_*.properties files in its WEB-INF/classes directory.
If war.plugin.version is set to 2.1.1 then files are present.
As far as I can see this change in the behavior occurred silently - it is not mentioned in anywhere changelogs.
Is it done intentionally?