[ http://jira.codehaus.org/browse/MNG-1703?page=comments#action_53561 ]
Yann Le Du commented on MNG-1703:
---------------------------------
I tried with a brand new Maven 2.0.1 installation and got the same thing.
What I'm trying to do is to run an Ant script at process-resources phase.
Currently, I use the following conf. Moving it to pluginManagement would allow
it not to be executed also for the parent.
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<ant antfile="replace.xml"/>
</tasks>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
<inherited>true</inherited>
</plugin>
</plugins>
> <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]