[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

2011-01-26 Thread Kalyan C. Akella (JIRA)

[ 
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-3321) Skip plugin and/or execution

2011-01-26 Thread Kalyan C. Akella (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252959#action_252959
 ] 

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

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

> Skip plugin and/or execution
> 
>
> Key: MNG-3321
> URL: http://jira.codehaus.org/browse/MNG-3321
> Project: Maven 2 & 3
>  Issue Type: New Feature
>  Components: Command Line
>Affects Versions: 2.0.8
>Reporter: Paul Gier
> Fix For: Issues to be reviewed for 3.x
>
>
> Add ability to skip the execution of certain plugins.  From the command line 
> this could look something like:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin 
> install {code}
> Also useful would be the ability to skip individual executions of a plugin.  
> For example, if the surefire plugin had two executions defined as "ex1" and 
> "ex2", you could do something like this:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin:ex1 
> install {code}
> This would skip ex1 but still run ex2.

-- 
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-3321) Skip plugin and/or execution

2011-01-27 Thread Kalyan C. Akella (JIRA)

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

Kalyan C. Akella updated MNG-3321:
--

Attachment: MNG-3321-maven-core.patch

Attaching the patch that implements this feature. The patch modifies execution 
plan calculation algorithm to eliminate plugins & their executions that need to 
be skipped.

> Skip plugin and/or execution
> 
>
> Key: MNG-3321
> URL: http://jira.codehaus.org/browse/MNG-3321
> Project: Maven 2 & 3
>  Issue Type: New Feature
>  Components: Command Line
>Affects Versions: 2.0.8
>Reporter: Paul Gier
> Fix For: Issues to be reviewed for 3.x
>
> Attachments: MNG-3321-maven-core.patch
>
>
> Add ability to skip the execution of certain plugins.  From the command line 
> this could look something like:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin 
> install {code}
> Also useful would be the ability to skip individual executions of a plugin.  
> For example, if the surefire plugin had two executions defined as "ex1" and 
> "ex2", you could do something like this:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin:ex1 
> install {code}
> This would skip ex1 but still run ex2.

-- 
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-3321) Skip plugin and/or execution

2011-01-28 Thread Kalyan C. Akella (JIRA)

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

Kalyan C. Akella updated MNG-3321:
--

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

Thank you for the comments. Attaching the patch files with the following 
changes,

1. Added the license headers.
2. Added integration tests. Tests for normal execution when no skip.plugin 
property specified, skipping of plugin & skipping of an execution within a 
plugin.
3. Fixed the code style to use the maven project settings in my IDE.


> Skip plugin and/or execution
> 
>
> Key: MNG-3321
> URL: http://jira.codehaus.org/browse/MNG-3321
> Project: Maven 2 & 3
>  Issue Type: New Feature
>  Components: Command Line
>Affects Versions: 2.0.8
>Reporter: Paul Gier
> Fix For: Issues to be reviewed for 3.x
>
> Attachments: MNG-3321-core-integration-testing.patch, 
> MNG-3321-maven-core.patch, MNG-3321-maven-core.patch
>
>
> Add ability to skip the execution of certain plugins.  From the command line 
> this could look something like:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin 
> install {code}
> Also useful would be the ability to skip individual executions of a plugin.  
> For example, if the surefire plugin had two executions defined as "ex1" and 
> "ex2", you could do something like this:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin:ex1 
> install {code}
> This would skip ex1 but still run ex2.

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

2011-02-05 Thread Kalyan C. Akella (JIRA)

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

2011-02-05 Thread Kalyan C. Akella (JIRA)

[ 
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




[jira] Updated: (MNG-3321) Skip plugin and/or execution

2011-02-05 Thread Kalyan C. Akella (JIRA)

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

Kalyan C. Akella updated MNG-3321:
--

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

Attaching the revised patches that implement the following:

1. ability to skip multiple plugin executions at CLI,
2. ability to skip plugins & their executions in POM using the  element

I also attached the same patches to the related issue, MNG-3102 with the same 
patch file names.

> Skip plugin and/or execution
> 
>
> Key: MNG-3321
> URL: http://jira.codehaus.org/browse/MNG-3321
> Project: Maven 2 & 3
>  Issue Type: New Feature
>  Components: Command Line
>Affects Versions: 2.0.8
>Reporter: Paul Gier
> Fix For: 3.1
>
> Attachments: MNG-3321-core-integration-testing.patch, 
> MNG-3321-core-integration-testing.patch, MNG-3321-maven-core.patch, 
> MNG-3321-maven-core.patch, MNG-3321-maven-core.patch, 
> MNG-3321-maven-model.patch
>
>
> Add ability to skip the execution of certain plugins.  From the command line 
> this could look something like:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin 
> install {code}
> Also useful would be the ability to skip individual executions of a plugin.  
> For example, if the surefire plugin had two executions defined as "ex1" and 
> "ex2", you could do something like this:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin:ex1 
> install {code}
> This would skip ex1 but still run ex2.

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