Execution's inherited is not working as expected.
-------------------------------------------------
Key: MNG-4129
URL: http://jira.codehaus.org/browse/MNG-4129
Project: Maven 2
Issue Type: Bug
Components: Inheritance and Interpolation
Affects Versions: 2.1.0
Reporter: Imran M Yousuf
Priority: Critical
Attachments: pom.xml
I have following mentioned in my POM, but 'assemble-static-gh-pages' gets
executed in the child POMs anyway. I see that its supposed to working as of -
MNG-3286 but it ain't so. The build process in my project
(http://github.com/imyousuf/smart-dao/tree) is incomplete just because of it.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${assembly.version}</version>
<inherited>false</inherited>
<executions>
<!-- Assembly execution for aggregating gh-pages -->
<execution>
<id>assemble-static-gh-pages</id>
<phase>compile</phase>
<inherited>false</inherited>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assemble-gh-pages.xml</descriptor>
</descriptors>
</configuration>
</execution>
<!-- Filter README -->
<execution>
<id>assemble-readme</id>
<phase>process-resources</phase>
<inherited>true</inherited>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assemble-readme.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira