You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Yann Le Du (JIRA)" <ji...@codehaus.org> on 2005/11/29 11:18:07 UTC
[jira] Created: (MNG-1703) is not propagated to child POMs
<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
<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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1703) is not
propagated to child POMs
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=comments#action_54110 ]
Edwin Punzalan commented on MNG-1703:
-------------------------------------
Hmmm... that's odd. can you do a "mvn help:effective-pom" on the child module and see which have been inherited? Mine definitely has the executions inherited.
> <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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1703) is not
propagated to child POMs
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=comments#action_53545 ]
Edwin Punzalan commented on MNG-1703:
-------------------------------------
Hi. The patch in MNG-1499 released with 2.0.1 could have fixed this.... I tried it on my machine and found the executions to be inherited.
Can you try using 2.0.1 and see if its fixed?
> <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
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1703) is not
propagated to child POMs
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=all ]
Brett Porter updated MNG-1703:
------------------------------
Summary: <pluginManagement><dependencies> is not propagated to child POMs (was: <pluginManagement><executions> is not propagated to child POMs)
I've updated the subject accordingly.
> <pluginManagement><dependencies> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1703) is not
propagated to child POMs
Posted by "Yann Le Du (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1703) is not
propagated to child POMs
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=all ]
Brett Porter closed MNG-1703:
-----------------------------
Resolution: Fixed
Fix Version: (was: 2.0.4)
2.0.3
> <pluginManagement><dependencies> 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
> Attachments: MNG-1703-maven-project.patch
>
>
> <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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1703) is not
propagated to child POMs
Posted by "Yann Le Du (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1703) is not
propagated to child POMs
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=all ]
Brett Porter updated MNG-1703:
------------------------------
Fix Version: 2.0.2
> <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
> Fix For: 2.0.2
>
>
> <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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1703) is not
propagated to child POMs
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=all ]
John Casey updated MNG-1703:
----------------------------
Fix Version: (was: 2.0.3)
2.0.4
> <pluginManagement><dependencies> 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.4
> Attachments: MNG-1703-maven-project.patch
>
>
> <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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1703) is not
propagated to child POMs
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=comments#action_54240 ]
Edwin Punzalan commented on MNG-1703:
-------------------------------------
Hi, can you provide some more info on how to reproduce this? Or maybe if there are others who have the same problem under 2.0.1, please do so too. Because I am unable to reproduce the error and would likely close this issue as "Cannot Repoduce". Thanks.
> <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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1703) is
not propagated to child POMs
Posted by "Gr?gory Joseph (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=comments#action_54340 ]
Grégory Joseph commented on MNG-1703:
-------------------------------------
then this is duplicate with MNG-1896 :)
> <pluginManagement><dependencies> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1703) is not
propagated to child POMs
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=all ]
Edwin Punzalan updated MNG-1703:
--------------------------------
Attachment: MNG-1703-maven-project.patch
> <pluginManagement><dependencies> 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
> Attachments: MNG-1703-maven-project.patch
>
>
> <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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1703) is not
propagated to child POMs
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=all ]
Brett Porter updated MNG-1703:
------------------------------
Fix Version: (was: 2.0.4)
2.0.3
> <pluginManagement><dependencies> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1703) is not
propagated to child POMs
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1703?page=all ]
John Casey updated MNG-1703:
----------------------------
Fix Version: (was: 2.0.3)
2.0.4
> <pluginManagement><dependencies> 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.4
>
>
> <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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org