Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0-beta-7
-
Fix Version/s: None
-
Component/s: prepare
-
Labels:None
Description
I have the following plugin configuration:
<plugins>
<plugin>
<inherited>false</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceIncludes>**/*.tld,**/dtd/**,WEB-INF/web.xml</warSourceIncludes>
</configuration>
</plugin>
</plugins>
It is not copied to the release-pom.xml during release:prepare, thus breaking the build process.
If i remove <inherited>false</inherited> it gets copied.
This seems to be caused by the version of Maven used. I was able to reproduce it with 2.0.9, but not with 2.2.1 (using maven-release-plugin:2.0-beta-7).
I'll write a test for it and close it.