You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tomislav Stojcevich (JIRA)" <ji...@codehaus.org> on 2007/07/12 15:28:13 UTC

[jira] Created: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
-------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MNG-3102
                 URL: http://jira.codehaus.org/browse/MNG-3102
             Project: Maven 2
          Issue Type: New Feature
          Components: Plugins and Lifecycle
            Reporter: Tomislav Stojcevich
            Priority: Minor


There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.

There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Updated: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3102:
------------------------------

    Fix Version/s: 2.x

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: 2.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Commented: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "farhan sarwar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237443#action_237443 ] 

farhan sarwar commented on MNG-3102:
------------------------------------

This would be such a handy feature.

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: Issues to be reviewed for 3.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Commented: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Kalyan C. Akella (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252958#action_252958 ] 

Kalyan C. Akella commented on MNG-3102:
---------------------------------------

I am working on this issue right now. Will update my progress on the dev list.

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: Issues to be reviewed for 3.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Commented: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Christoph Kaser (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228358#action_228358 ] 

Christoph Kaser commented on MNG-3102:
--------------------------------------

I can't believe this is minor - the lack of functionality to unbind / skip a plugin seems to be diescussed a lot in forums and mailing lists about maven. Especially if you want to use legacy ant build scripts (or have to customize your build a lot), this is a really important issue that would make a lot of things much easier.

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: Issues to be reviewed for 3.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Issue Comment Edited: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Christoph Kaser (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228358#action_228358 ] 

Christoph Kaser edited comment on MNG-3102 at 7/14/10 4:47 AM:
---------------------------------------------------------------

I can't believe this is set to minor - the lack of functionality to unbind / skip a plugin seems to be discussed a lot in forums and mailing lists about maven. Especially if you want to use legacy ant build scripts (or have to customize your build a lot), this is a really important issue that would make a lot of things much easier.

      was (Author: christophk):
    I can't believe this is minor - the lack of functionality to unbind / skip a plugin seems to be diescussed a lot in forums and mailing lists about maven. Especially if you want to use legacy ant build scripts (or have to customize your build a lot), this is a really important issue that would make a lot of things much easier.
  
> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: Issues to be reviewed for 3.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Commented: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "JR Boyens (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130795#action_130795 ] 

JR Boyens commented on MNG-3102:
--------------------------------

This is a real problem for a lot of people. I've modified a lot of plugins and deployed them locally to allow for skipping.

I'd be more than happy to do this, but I don't even know where to start.

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: 2.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Updated: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Kalyan C. Akella (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kalyan C. Akella updated MNG-3102:
----------------------------------

    Attachment: MNG-3321-core-integration-testing.patch
                MNG-3321-maven-core.patch
                MNG-3321-maven-model.patch

Attaching the patches that implement this feature.

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: Issues to be reviewed for 3.x
>
>         Attachments: MNG-3321-core-integration-testing.patch, MNG-3321-maven-core.patch, MNG-3321-maven-model.patch
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Commented: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130800#action_130800 ] 

Benjamin Bentmann commented on MNG-3102:
----------------------------------------

John Casey has developed some proposals about [Lifecylce and Plugin Handling|http://docs.codehaus.org/display/MAVEN/Lifecycle+and+Plugin+Handling] that might be of interest.

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: 2.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Commented: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Yegor Bugayenko (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250998#action_250998 ] 

Yegor Bugayenko commented on MNG-3102:
--------------------------------------

Would be great to have such a feature. It will remove a lot of similar code from many plugins.

> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: Issues to be reviewed for 3.x
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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

        

[jira] Issue Comment Edited: (MNG-3102) Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited

Posted by "Kalyan C. Akella (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254731#action_254731 ] 

Kalyan C. Akella edited comment on MNG-3102 at 2/5/11 6:36 AM:
---------------------------------------------------------------

Attaching the patches that implement this feature. This feature has been implemented as part of the related issue, MNG-3321 and so the patch file names are the way they are.

      was (Author: kalyan.akella):
    Attaching the patches that implement this feature.
  
> Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3102
>                 URL: http://jira.codehaus.org/browse/MNG-3102
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Tomislav Stojcevich
>            Priority: Minor
>             Fix For: Issues to be reviewed for 3.x
>
>         Attachments: MNG-3321-core-integration-testing.patch, MNG-3321-maven-core.patch, MNG-3321-maven-model.patch
>
>
> There are times where it is convenient to define a plugin for all child projects except for a few.  Adding a skip attribute at the plugin definition level (similar to inherited) would allow for the addition/configuration of a plugin in a parent pom that would be inherited to all children.  For the few children where that plugin either doesn't make sense or causes needless executions or errors, this would allow for it to be skipped.
> There are a few plugins that already include skip as a configuration option.  Adding it at the higher level, making it available to all plugins would allow any plugin to make use of it and not have to define it's own skip configuration parameter.

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