[ 
http://jira.codehaus.org/browse/MNG-3863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shane Isbell closed MNG-3863.
-----------------------------

    Resolution: Fixed

I added back in the fix and included default id for plugins in profiles as well.

> Maven erroneously assumes "org.apache.maven.plugins" for dependencies without 
> groupId
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-3863
>                 URL: http://jira.codehaus.org/browse/MNG-3863
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, POM
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0-alpha-1
>
>
> POM snippet:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <dependency>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>test</artifactId>
>       <version>1.0</version>
>     </dependency>
>   </dependencies>
> </dependencyManagement>
> <dependencies>
>   <dependency>
>     <artifactId>test</artifactId>
>     <version>1.0</version>
>   </dependency>
> </dependencies>
> {code}
> delivers effective POM
> {code:xml}
> <dependencies>
>   <dependency>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>test</artifactId>
>     <version>1.0</version>
>     <scope>compile</scope>
>   </dependency>
> </dependencies>
> {code}
> although the POM should not pass validation.

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