[ http://jira.codehaus.org/browse/MNG-2145?page=comments#action_60795 ]
Daiyam commented on MNG-2145: ----------------------------- Thanks Yann, I didn't know about id or default id of the execution tag. I have the same problem with the pom-profile.xml, I have several <plugin>s with the same <artifactId> but one in the build tag and another in build tage of a profile. When I run "mvn -P compile-schemas package", it's don't check the dependency of the profile's plugin. > 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