You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/04/10 11:36:53 UTC
[jira] Updated: (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 ]
Benjamin Bentmann updated MNG-4129:
-----------------------------------
Description:
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}
was:
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>
> 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.
> {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