You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2020/02/28 19:03:00 UTC
[jira] [Commented] (MDEPLOY-267) add a parameter to not deploy non
snapshots (-DdeployOnlySnaphots=true/false)
[ https://issues.apache.org/jira/browse/MDEPLOY-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17047886#comment-17047886 ]
Robert Scholte commented on MDEPLOY-267:
----------------------------------------
Hmm, feels like a hack, because you should require the same for the maven-install-plugin. Just for the context: is the CI Jenkins pipelines?
> add a parameter to not deploy non snapshots (-DdeployOnlySnaphots=true/false)
> -----------------------------------------------------------------------------
>
> Key: MDEPLOY-267
> URL: https://issues.apache.org/jira/browse/MDEPLOY-267
> Project: Maven Deploy Plugin
> Issue Type: New Feature
> Reporter: Olivier Lamy
> Assignee: Olivier Lamy
> Priority: Major
> Fix For: 3.0.0
>
>
> in case of maven-release-plugin it happen the pom contains non SNAPSHOT version and so CI system try to deploy the artifacts this can generate an error and/or create new staging repository
> we can add a new parameter -DdeployOnlySnaphots=true/false. For backward compat it will be false per default but users will be able to configure their CI system.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)