You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Fallows (JIRA)" <ji...@codehaus.org> on 2005/09/23 05:44:10 UTC

[jira] Created: (MNG-980) Provide control over precedence of org.apache.maven.plugins group in search path

Provide control over precedence of org.apache.maven.plugins group in search path
--------------------------------------------------------------------------------

         Key: MNG-980
         URL: http://jira.codehaus.org/browse/MNG-980
     Project: Maven 2
        Type: Improvement
    Versions: 2.0-beta-1    
 Reporter: John Fallows


settings.xml has a <pluginGroups> section to list additional groupIds to search for top level m2 plugin goals.

By default, "org.apache.maven.plugins" is not required to be present in this list, and always wins if there is a collision.

<pluginGroups> that explicitly list "org.apache.maven.plugins" should be able to control this default behavior, so that a different plugin groupId can always win in the case of a collision.

For example, in settings.xml:

<pluginGroups>
  <pluginGroup>org.example.maven.plugins</pluginGroup>
  <pluginGroup>org.apache.maven.plugins</pluginGroup>
</pluginGroups>

This would allow "org.example.maven.plugins" to always win in the case of a collision, whereas:

<pluginGroups>
  <pluginGroup>org.example.maven.plugins</pluginGroup>
</pluginGroups>

would still allow "org.apache.maven.plugins" to always win, as it does today.

-- 
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-980) Provide control over precedence of org.apache.maven.plugins group in search path

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-980?page=all ]

Brett Porter updated MNG-980:
-----------------------------

    Component: maven-core

> Provide control over precedence of org.apache.maven.plugins group in search path
> --------------------------------------------------------------------------------
>
>          Key: MNG-980
>          URL: http://jira.codehaus.org/browse/MNG-980
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Versions: 2.0-beta-1
>     Reporter: John Fallows

>
>
> settings.xml has a <pluginGroups> section to list additional groupIds to search for top level m2 plugin goals.
> By default, "org.apache.maven.plugins" is not required to be present in this list, and always wins if there is a collision.
> <pluginGroups> that explicitly list "org.apache.maven.plugins" should be able to control this default behavior, so that a different plugin groupId can always win in the case of a collision.
> For example, in settings.xml:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
>   <pluginGroup>org.apache.maven.plugins</pluginGroup>
> </pluginGroups>
> This would allow "org.example.maven.plugins" to always win in the case of a collision, whereas:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
> </pluginGroups>
> would still allow "org.apache.maven.plugins" to always win, as it does today.

-- 
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-980) Provide control over precedence of org.apache.maven.plugins group in search path

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-980?page=all ]

Brett Porter updated MNG-980:
-----------------------------

    Fix Version: 2.0-beta-3

> Provide control over precedence of org.apache.maven.plugins group in search path
> --------------------------------------------------------------------------------
>
>          Key: MNG-980
>          URL: http://jira.codehaus.org/browse/MNG-980
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Versions: 2.0-beta-1
>     Reporter: John Fallows
>      Fix For: 2.0-beta-3

>
>
> settings.xml has a <pluginGroups> section to list additional groupIds to search for top level m2 plugin goals.
> By default, "org.apache.maven.plugins" is not required to be present in this list, and always wins if there is a collision.
> <pluginGroups> that explicitly list "org.apache.maven.plugins" should be able to control this default behavior, so that a different plugin groupId can always win in the case of a collision.
> For example, in settings.xml:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
>   <pluginGroup>org.apache.maven.plugins</pluginGroup>
> </pluginGroups>
> This would allow "org.example.maven.plugins" to always win in the case of a collision, whereas:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
> </pluginGroups>
> would still allow "org.apache.maven.plugins" to always win, as it does today.

-- 
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-980) Provide control over precedence of org.apache.maven.plugins group in search path

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-980?page=all ]

Brett Porter updated MNG-980:
-----------------------------

    Fix Version:     (was: 2.0-beta-4)
                 2.1

> Provide control over precedence of org.apache.maven.plugins group in search path
> --------------------------------------------------------------------------------
>
>          Key: MNG-980
>          URL: http://jira.codehaus.org/browse/MNG-980
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Versions: 2.0-beta-1
>     Reporter: John Fallows
>      Fix For: 2.1

>
>
> settings.xml has a <pluginGroups> section to list additional groupIds to search for top level m2 plugin goals.
> By default, "org.apache.maven.plugins" is not required to be present in this list, and always wins if there is a collision.
> <pluginGroups> that explicitly list "org.apache.maven.plugins" should be able to control this default behavior, so that a different plugin groupId can always win in the case of a collision.
> For example, in settings.xml:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
>   <pluginGroup>org.apache.maven.plugins</pluginGroup>
> </pluginGroups>
> This would allow "org.example.maven.plugins" to always win in the case of a collision, whereas:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
> </pluginGroups>
> would still allow "org.apache.maven.plugins" to always win, as it does today.

-- 
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-980) Provide control over precedence of org.apache.maven.plugins group in search path

Posted by "Kevin McNamee (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-980?page=comments#action_48767 ] 

Kevin McNamee commented on MNG-980:
-----------------------------------

>From working with Maven2.0 RC it seems that the <pluginGroups> are ignored altogether.
Following the example in
http://www.codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-development.html
the plugin group "sample.plugin" is completely ignored in the settings.xml.


> Provide control over precedence of org.apache.maven.plugins group in search path
> --------------------------------------------------------------------------------
>
>          Key: MNG-980
>          URL: http://jira.codehaus.org/browse/MNG-980
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Versions: 2.0-beta-1
>     Reporter: John Fallows
>      Fix For: 2.1

>
>
> settings.xml has a <pluginGroups> section to list additional groupIds to search for top level m2 plugin goals.
> By default, "org.apache.maven.plugins" is not required to be present in this list, and always wins if there is a collision.
> <pluginGroups> that explicitly list "org.apache.maven.plugins" should be able to control this default behavior, so that a different plugin groupId can always win in the case of a collision.
> For example, in settings.xml:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
>   <pluginGroup>org.apache.maven.plugins</pluginGroup>
> </pluginGroups>
> This would allow "org.example.maven.plugins" to always win in the case of a collision, whereas:
> <pluginGroups>
>   <pluginGroup>org.example.maven.plugins</pluginGroup>
> </pluginGroups>
> would still allow "org.apache.maven.plugins" to always win, as it does today.

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