[ http://jira.codehaus.org/browse/MNG-1703?page=comments#action_54251 ] 

Yann Le Du commented on MNG-1703:
---------------------------------

Hi Edwin, sorry, I wanted to post yesterday, but JIRA was down.
You were right, <executions> is inherited. Yet, <dependencies> is not, hence my 
test failure.
Should I close this issue and create another one for <dependencies> ?

mvn help:effective-pom gives :
~    <pluginManagement>
~      <plugins>
~        <plugin>
~          <artifactId>maven-antrun-plugin</artifactId>
~          <executions>
~            <execution>
~              <phase>process-resources</phase>
~              <goals>
~                <goal>run</goal>
~              </goals>
~              <configuration>
~                <tasks>
~                  <ant antfile="replace.xml"></ant>
~                </tasks>
~              </configuration>
~            </execution>
~          </executions>
~          <dependencies>
~            <dependency>
~              <groupId>ant</groupId>
~              <artifactId>ant-nodeps</artifactId>
~              <version>1.6.5</version>
~            </dependency>
~          </dependencies>
~        </plugin>
~      </plugins>
~    </pluginManagement>
~    <plugins>
~      <plugin>
~        <artifactId>maven-antrun-plugin</artifactId>
~        <executions>
~          <execution>
~            <phase>process-resources</phase>
~            <goals>
~              <goal>run</goal>
~            </goals>
~            <configuration>
~              <tasks>
~                <ant antfile="replace.xml"></ant>
~              </tasks>
~            </configuration>
~          </execution>
~        </executions>
~      </plugin>


> <pluginManagement><executions> is not propagated to child POMs
> --------------------------------------------------------------
>
>          Key: MNG-1703
>          URL: http://jira.codehaus.org/browse/MNG-1703
>      Project: Maven 2
>         Type: Bug

>   Components: POM
>     Versions: 2.0
>     Reporter: Yann Le Du
>     Assignee: Edwin Punzalan
>      Fix For: 2.0.3

>
>
> <executions> section in <pluginManagement> isn't propagated to child POMs (as 
> <configuration> is).
> The workaround is to use <plugins> with <inherited>true</inherited>
> Is this on purpose ?

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to