[ 
https://issues.apache.org/jira/browse/SCM-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772142#comment-17772142
 ] 

Richard Eckart de Castilho commented on SCM-1013:
-------------------------------------------------

See comments in https://github.com/apache/uima-parent-pom/issues/37 -- 
overriding the release profiles is annoying.

As I said, currently I set a property either to "none" or to a particular phase 
to control the execution of the SCM plugins:

{noformat}
<execution>
                 <id>checkout-staging</id>
                 <phase>${releaseStagingCheckoutPhase}</phase>
                 <goals>
                   <goal>checkout</goal>
                 </goals>
{noformat}

That works, but instead setting a "skip" parameter seems considerably less 
hacky to me.

> Add skip parameter to all goals
> -------------------------------
>
>                 Key: SCM-1013
>                 URL: https://issues.apache.org/jira/browse/SCM-1013
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-plugin
>            Reporter: Richard Eckart de Castilho
>            Priority: Major
>
> Currently, the only way to conditionally execute this plugin is by either 
> putting it into a profile or by putting it into a conditionally included 
> submodule. But profile-based activation may not be flexible enough and 
> putting it into a conditionally included submodule is quite inconvenient.
> Most Maven goals have a "skip" parameter that can be used to control them. It 
> would be good if the Maven SVM goals would follow that approach as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to