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

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

Things get indeed weird if you use several <plugin>s with the same <artifactId> 
: attached pom-echo.xml echoes 2 times "Hello world, I'm in generate-resources"
A better way to achieve your goal is to merge these 2 <execution>s as in 
attached pom-merge.xml (you must use <id>s to avoid duplicate "default" id)


> Plugins' dependencies are not always checked
> --------------------------------------------
>
>          Key: MNG-2145
>          URL: http://jira.codehaus.org/browse/MNG-2145
>      Project: Maven 2
>         Type: Bug

>   Components: Dependencies
>     Versions: 2.0.2
>     Reporter: Daiyam
>     Priority: Blocker
>  Attachments: pom-echo.xml, pom-merge.xml, pom.xml
>
>
> I want to run two ant task, one on the phase 'generate-sources' which 
> contains a dependency and another on the phase 'package'.
> When I want to compile with the project like that, maven don't check the 
> dependency.
> But when I comment the plugin on the phase 'package', maven check it.
> PS: In the pom.xml in attachement, maven must check the library 
> junit:junit:jar:30.80.10 (which don't exsist)

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

Reply via email to