[ https://issues.apache.org/jira/browse/MDEPLOY-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965637#comment-17965637 ]
Olivier Lamy commented on MDEPLOY-74: ------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-deploy-plugin#141|https://github.com/apache/maven-deploy-plugin/issues/141]. > Add an option to be able to abort if an artifact is already present in the > deployment repository > ------------------------------------------------------------------------------------------------ > > Key: MDEPLOY-74 > URL: https://issues.apache.org/jira/browse/MDEPLOY-74 > Project: Maven Deploy Plugin (Moved to GitHub Issues) > Issue Type: Improvement > Reporter: Baptiste MATHUS > Assignee: Robert Scholte > Priority: Minor > Labels: scrub-review-started > > Hi all, > Would be great if it was possible to use a command like: > mvn deploy -DfailIfPresent=true (false by default, to behave as currently) > That switch would do a build failure if the artifact is found in the > deployment repository. > Alternatively or in addition, a -DdryRun=true could add a simulation mode to > this plugin. Particularly, it would clearly display if the artifact would be > overriding an already present one or not. > Cheers. -- This message was sent by Atlassian Jira (v8.20.10#820010)