Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24606106D6 for ; Sat, 3 Jan 2015 15:35:36 +0000 (UTC) Received: (qmail 48628 invoked by uid 500); 3 Jan 2015 15:35:36 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 48555 invoked by uid 500); 3 Jan 2015 15:35:36 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 48542 invoked by uid 99); 3 Jan 2015 15:35:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2015 15:35:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2015 15:35:30 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 5711EB116D for ; Sat, 3 Jan 2015 09:35:10 -0600 (CST) Date: Sat, 3 Jan 2015 09:35:10 -0600 (CST) From: "Robert Scholte (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MDEPLOY-74) Add an option to be able to abort if an artifact is already present in the deployment repository MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MDEPLOY-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte closed MDEPLOY-74. --------------------------------- Resolution: Not A Bug Assignee: Robert Scholte To be precise: it is not a bug of the maven-deploy-plugin. The fix has already been done in Maven Core. > Add an option to be able to abort if an artifact is already present in the deployment repository > ------------------------------------------------------------------------------------------------ > > Key: MDEPLOY-74 > URL: https://jira.codehaus.org/browse/MDEPLOY-74 > Project: Maven Deploy Plugin > 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 (v6.1.6#6162)