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

ASF GitHub Bot commented on SCM-1013:
-------------------------------------

jira-importer commented on issue #1238:
URL: https://github.com/apache/maven-scm/issues/1238#issuecomment-2964658967

   **[Richard Eckart de 
Castilho](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rec)** 
commented
   
   In my particular use-case, I am using the SCM plugin to automatically stage 
a release candidate during a release build.
   
   Currently, I am working around the missing skip parameter by using a 
property in the `phase` element of the execution and setting this property to 
`none` when not in a release build. It works, but it is a hack.
   
   Related issues:
   * https://github.com/apache/uima-parent-pom/issues/37
   * https://github.com/apache/uima-parent-pom/pull/62
   
   




> Add skip parameter to all goals
> -------------------------------
>
>                 Key: SCM-1013
>                 URL: https://issues.apache.org/jira/browse/SCM-1013
>             Project: Maven SCM (Moved to GitHub Issues)
>          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