You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Imran M Yousuf (JIRA)" <ji...@codehaus.org> on 2009/04/13 12:28:52 UTC
[jira] Closed: (MNG-4129) Execution's inherited is not working as
expected.
[ http://jira.codehaus.org/browse/MNG-4129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Imran M Yousuf closed MNG-4129.
-------------------------------
Resolution: Not A Bug
Fix Version/s: 2.0.10
2.1.0
Documentation Deficit
Thanks Benjamin, that actually got the inherited to work as it is, but unfortunately its not documented anywhere, if it was that would have saved me a lot of time :).
FYI, I set <inherited>false</inherited> as I could not get it to work and after that I copy pasted it, sorry for the inconvenience.
Thanks once again.
> 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
> Fix For: Documentation Deficit, 2.1.0, 2.0.10
>
> 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.
> {code:xml}
> <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>
> {code}
--
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