Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8E689E9F for ; Wed, 21 Mar 2012 18:10:45 +0000 (UTC) Received: (qmail 59008 invoked by uid 500); 21 Mar 2012 18:10:43 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 58843 invoked by uid 500); 21 Mar 2012 18:10:43 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 58834 invoked by uid 99); 21 Mar 2012 18:10:43 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 18:10:43 +0000 Received: from localhost (HELO mail-gx0-f171.google.com) (127.0.0.1) (smtp-auth username olamy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 18:10:43 +0000 Received: by ggcs5 with SMTP id s5so1434491ggc.30 for ; Wed, 21 Mar 2012 11:10:42 -0700 (PDT) Received: by 10.236.147.19 with SMTP id s19mr5015894yhj.36.1332353442353; Wed, 21 Mar 2012 11:10:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.34.8 with HTTP; Wed, 21 Mar 2012 11:10:22 -0700 (PDT) In-Reply-To: References: From: Olivier Lamy Date: Wed, 21 Mar 2012 19:10:22 +0100 Message-ID: Subject: Re: Maven deploy plugin: altDeploymentRepository: snapshots OK? To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 Use something like ${distMgmtSnapshotsId} ${distMgmtSnapshotsName} ${distMgmtSnapshotsUrl} Snapshot Repository Snapshot Repository http://host:port/repository/snapshots/ You have correct default values and you can override with -D ... 2012/3/21 Laird Nelson : > If I am deploying a SNAPSHOT artifact, but I wish to supply the > altDeploymentRepository property on the command line, is Maven or the > plugin smart enough to realize that I'm deploying a SNAPSHOT? > > I ask because the "regular" distributionManagement element has *two* > entries: one for releases, and one for snapshots. > > I would have expected a corresponding duality in the properties I could > pass (e.g. altDeploymentSnapshotRepository or something). > > Best, > Laird > > -- > http://about.me/lairdnelson -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org