[ https://issues.apache.org/jira/browse/MDEPLOY-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965772#comment-17965772 ]
Olivier Lamy commented on MDEPLOY-267: -------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-deploy-plugin#393|https://github.com/apache/maven-deploy-plugin/issues/393]. > add parameters to deploy or not non snapshots or release (-DskipRelease or > -DskipSnapshot) > ------------------------------------------------------------------------------------------ > > Key: MDEPLOY-267 > URL: https://issues.apache.org/jira/browse/MDEPLOY-267 > Project: Maven Deploy Plugin (Moved to GitHub Issues) > Issue Type: New Feature > Reporter: Olivier Lamy > Assignee: Olivier Lamy > Priority: Major > Fix For: 3.0.0-M2 > > > maven-release-plugin creates a commit where the pom is not a SNAPSHOT > version: if CI system is configured to build on every commit and to deploy > the artifacts on every build (with the intent in general to deploy updated > SNAPSHOTs on every commit), the CI will deploy the non-SNAPSHOT that has > already been deployed by the user who launched {{mvn release:perform}}, then > it will generate an error (trying to override existing release artifact) > and/or create new staging repository and/or override artifacts partially (if > repository not configured to block overrides) > we can add a new parameter {{-DdeployOnlySnaphots=true/false}}: it will be > false per default for normal use, but can be configured to true in users' CI > system. -- This message was sent by Atlassian Jira (v8.20.10#820010)