[ https://issues.apache.org/jira/browse/MDEPLOY-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965567#comment-17965567 ]
Olivier Lamy commented on MDEPLOY-68: ------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-deploy-plugin#226|https://github.com/apache/maven-deploy-plugin/issues/226]. > altDeploymentRepository allows dangerous deploy processes > --------------------------------------------------------- > > Key: MDEPLOY-68 > URL: https://issues.apache.org/jira/browse/MDEPLOY-68 > Project: Maven Deploy Plugin (Moved to GitHub Issues) > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Brian E Fox > Assignee: Robert Scholte > Priority: Major > Fix For: 2.8 > > > There is no protection in the deploy plugin to stop snapshots from being > deployed to release repos and vice versa. The altDeploymentRepository flag > simply overrides the output and thus any use of it really throws out the > distinctions in the distributionManagement section of Maven. There should be > a way to declare an altDeploymentRepository flag to only allow snapshots for > vice versa so you can use it but still be in control of what artifacts go > where. -- This message was sent by Atlassian Jira (v8.20.10#820010)