You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brian Bonner (JIRA)" <ji...@codehaus.org> on 2005/10/11 19:50:11 UTC

[jira] Created: (MNG-1171) I wish there was a recommended way of naming plugins

I wish there was a recommended way of naming plugins
----------------------------------------------------

         Key: MNG-1171
         URL: http://jira.codehaus.org/browse/MNG-1171
     Project: Maven 2
        Type: Wish
 Reporter: Brian Bonner
    Priority: Minor


What *is* the preferred article id naming for Maven Plugins?

I've seen it as <pluginname>-maven-plugin   and maven-<pluginname>-plugin
It would help me (and other users) avoid silly mistakes if there was a recommended pattern.

I ran into this with the xmlbeans plugin.  The example had it named as maven-xmlbeans-plugin.  After looking at other plugins, it looks like this is the "standard".

It seems like the name should either go at the beginning or end  (i.e. xmlbeans-maven-plugin,  or maven-plugin-xmlbeans).

I'm wondering if there is really a rhyme or reason to this.  It would make it easier to write poms if there was some sort of recommended standard.

-- 
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-1171) I wish there was a recommended way of naming plugins

Posted by "Brian Bonner (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1171?page=comments#action_50340 ] 

Brian Bonner commented on MNG-1171:
-----------------------------------

FWIW, When I opened this up, I had only been working with Maven2 for a little while and Maven2 was still in Beta3.  Since then, I've observed what Vincent described.

When I was writing this, it wasn't clear (or documented) why they were named this way.

When filling out pom.xml, as a maven user, I guess I thought the artifactId naming pattern would be consistent and the group ID (org.apache.maven.plugins) would be enough to indicate that it was a maven-provided-plugin.

Thanks.

> I wish there was a recommended way of naming plugins
> ----------------------------------------------------
>
>          Key: MNG-1171
>          URL: http://jira.codehaus.org/browse/MNG-1171
>      Project: Maven 2
>         Type: Wish
>   Components: documentation - general
>     Reporter: Brian Bonner
>     Assignee: Jason van Zyl
>     Priority: Minor

>
>
> What *is* the preferred article id naming for Maven Plugins?
> I've seen it as <pluginname>-maven-plugin   and maven-<pluginname>-plugin
> It would help me (and other users) avoid silly mistakes if there was a recommended pattern.
> I ran into this with the xmlbeans plugin.  The example had it named as maven-xmlbeans-plugin.  After looking at other plugins, it looks like this is the "standard".
> It seems like the name should either go at the beginning or end  (i.e. xmlbeans-maven-plugin,  or maven-plugin-xmlbeans).
> I'm wondering if there is really a rhyme or reason to this.  It would make it easier to write poms if there was some sort of recommended standard.

-- 
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-1171) I wish there was a recommended way of naming plugins

Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1171?page=comments#action_50325 ] 

Vincent Massol commented on MNG-1171:
-------------------------------------

Hi Jason,

AFAIK the naming convention for external plugins is *-maven-plugin and not maven-*-plugin which is reserved for the maven-provided plugins. At least that has always been my understanding...

> I wish there was a recommended way of naming plugins
> ----------------------------------------------------
>
>          Key: MNG-1171
>          URL: http://jira.codehaus.org/browse/MNG-1171
>      Project: Maven 2
>         Type: Wish
>   Components: documentation - general
>     Reporter: Brian Bonner
>     Assignee: Jason van Zyl
>     Priority: Minor

>
>
> What *is* the preferred article id naming for Maven Plugins?
> I've seen it as <pluginname>-maven-plugin   and maven-<pluginname>-plugin
> It would help me (and other users) avoid silly mistakes if there was a recommended pattern.
> I ran into this with the xmlbeans plugin.  The example had it named as maven-xmlbeans-plugin.  After looking at other plugins, it looks like this is the "standard".
> It seems like the name should either go at the beginning or end  (i.e. xmlbeans-maven-plugin,  or maven-plugin-xmlbeans).
> I'm wondering if there is really a rhyme or reason to this.  It would make it easier to write poms if there was some sort of recommended standard.

-- 
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] Closed: (MNG-1171) I wish there was a recommended way of naming plugins

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1171?page=all ]
     
Jason van Zyl closed MNG-1171:
------------------------------

    Resolution: Fixed

> I wish there was a recommended way of naming plugins
> ----------------------------------------------------
>
>          Key: MNG-1171
>          URL: http://jira.codehaus.org/browse/MNG-1171
>      Project: Maven 2
>         Type: Wish
>   Components: documentation - general
>     Reporter: Brian Bonner
>     Assignee: Jason van Zyl
>     Priority: Minor

>
>
> What *is* the preferred article id naming for Maven Plugins?
> I've seen it as <pluginname>-maven-plugin   and maven-<pluginname>-plugin
> It would help me (and other users) avoid silly mistakes if there was a recommended pattern.
> I ran into this with the xmlbeans plugin.  The example had it named as maven-xmlbeans-plugin.  After looking at other plugins, it looks like this is the "standard".
> It seems like the name should either go at the beginning or end  (i.e. xmlbeans-maven-plugin,  or maven-plugin-xmlbeans).
> I'm wondering if there is really a rhyme or reason to this.  It would make it easier to write poms if there was some sort of recommended standard.

-- 
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-1171) I wish there was a recommended way of naming plugins

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1171?page=comments#action_50324 ] 

Jason van Zyl commented on MNG-1171:
------------------------------------

The standard naming convention is maven-<foo>-plugin and we've been using it for a long time.

> I wish there was a recommended way of naming plugins
> ----------------------------------------------------
>
>          Key: MNG-1171
>          URL: http://jira.codehaus.org/browse/MNG-1171
>      Project: Maven 2
>         Type: Wish
>   Components: documentation - general
>     Reporter: Brian Bonner
>     Priority: Minor

>
>
> What *is* the preferred article id naming for Maven Plugins?
> I've seen it as <pluginname>-maven-plugin   and maven-<pluginname>-plugin
> It would help me (and other users) avoid silly mistakes if there was a recommended pattern.
> I ran into this with the xmlbeans plugin.  The example had it named as maven-xmlbeans-plugin.  After looking at other plugins, it looks like this is the "standard".
> It seems like the name should either go at the beginning or end  (i.e. xmlbeans-maven-plugin,  or maven-plugin-xmlbeans).
> I'm wondering if there is really a rhyme or reason to this.  It would make it easier to write poms if there was some sort of recommended standard.

-- 
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-1171) I wish there was a recommended way of naming plugins

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

Brett Porter updated MNG-1171:
------------------------------

    Component: documentation

> I wish there was a recommended way of naming plugins
> ----------------------------------------------------
>
>          Key: MNG-1171
>          URL: http://jira.codehaus.org/browse/MNG-1171
>      Project: Maven 2
>         Type: Wish
>   Components: documentation
>     Reporter: Brian Bonner
>     Priority: Minor

>
>
> What *is* the preferred article id naming for Maven Plugins?
> I've seen it as <pluginname>-maven-plugin   and maven-<pluginname>-plugin
> It would help me (and other users) avoid silly mistakes if there was a recommended pattern.
> I ran into this with the xmlbeans plugin.  The example had it named as maven-xmlbeans-plugin.  After looking at other plugins, it looks like this is the "standard".
> It seems like the name should either go at the beginning or end  (i.e. xmlbeans-maven-plugin,  or maven-plugin-xmlbeans).
> I'm wondering if there is really a rhyme or reason to this.  It would make it easier to write poms if there was some sort of recommended standard.

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