You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2007/05/26 18:20:58 UTC
[jira] Moved: (MANTRUN-73) defining a plugin within
affects configuration of the same plugin defined within
[ http://jira.codehaus.org/browse/MANTRUN-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl moved MANTTASKS-3 to MANTRUN-73:
----------------------------------------------
Complexity: (was: Intermediate)
Key: MANTRUN-73 (was: MANTTASKS-3)
Project: Maven 2.x Antrun Plugin (was: Maven 2.x Ant Tasks)
> defining a plugin within <plugins> affects configuration of the same plugin defined within <pluginManagement>
> -------------------------------------------------------------------------------------------------------------
>
> Key: MANTRUN-73
> URL: http://jira.codehaus.org/browse/MANTRUN-73
> Project: Maven 2.x Antrun Plugin
> Issue Type: Bug
> Environment: windows xp sp2
> Reporter: Martin Ploeckinger
> Attachments: build_part_of_pom.xml
>
>
> a problem occurs using the antrun-plugin in maven for some different tasks.
> first i defined the antrun-plugin within <pluginManagement> for execution tasks only in the child poms, even with 2 different execution tags and phases and it worked perfect.
> and now i wanted to add an ant job which should be executed only once at top level and therefore i had to "redefine" the antrun-plugin outside of <pluginManagement> with an <inherited>false</inherited> option.
> but however this does not work, the ant tasks within <pluginManagement> are now executed at top level too....
> it is funny that both definitions work, the top-level job and the child jobs, but not togehter in one pom...i always have to leave the other ones aside
> i used the attached build section in my top level pom.xml and the error i get is that "rmic" is also executed at top level pom where no source is available understandably
--
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