[ http://jira.codehaus.org/browse/MDEPLOY-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236714#action_236714 ]
Baptiste MATHUS commented on MDEPLOY-74: ---------------------------------------- Arf, I wanted to add a link to MARTIFACT-6, and as it redirects to MNG-4377, I added another link to this one although it was already there. Sorry for the inconvenience. > Add an option to be able to abort if an artifact is already present in the > deployment repository > ------------------------------------------------------------------------------------------------ > > Key: MDEPLOY-74 > URL: http://jira.codehaus.org/browse/MDEPLOY-74 > Project: Maven 2.x Deploy Plugin > Issue Type: Improvement > Reporter: Baptiste MATHUS > Priority: Minor > > 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 is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira