Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 93817 invoked from network); 4 Oct 2010 19:53:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 19:53:08 -0000 Received: (qmail 71266 invoked by uid 500); 4 Oct 2010 19:53:06 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 71182 invoked by uid 500); 4 Oct 2010 19:53:05 -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 71174 invoked by uid 99); 4 Oct 2010 19:53:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 19:53:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aheritier@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 19:52:56 +0000 Received: by wyf19 with SMTP id 19so5777320wyf.30 for ; Mon, 04 Oct 2010 12:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=C3zI5fpOoCd3PQLVwUiAY7tPL8BgLyOAq0uFYjyEmCY=; b=XepfF4aXgQEGh84CEbgzvYBG7SHXOl/gQklSAVX41pEEm3vBQFBaH4hVY9CuBtUr/B BcoWUK5gGhbXEFOfbtuo9hnba4+L+1eVf3JRj6BWgtuaNndcJsby8gzTQaNmdEeuywaO WNcKPPy5JMw8kKS0peXDutchYTIndbiEqeTd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=gO1x9DZW2BTiFrXwT01ZUtIO9to83OPRgzeiUUKBs8pUJgJt8+jGuav6JBE/cEhBO5 8LKE4h7qwEEerzlSJkMeHknP5v8cIs8qyxXOQmiilfwihgkFHfHWxBDwtqHkA6WPB8Je ceiUQLLwaeqhjrVRhw0E1lXxNBbagd+7EBBFs= Received: by 10.216.11.66 with SMTP id 44mr8179880wew.69.1286221956028; Mon, 04 Oct 2010 12:52:36 -0700 (PDT) Received: from [192.168.0.60] (mea77-4-88-171-115-235.fbx.proxad.net [88.171.115.235]) by mx.google.com with ESMTPS id w29sm3269682weq.42.2010.10.04.12.52.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 Oct 2010 12:52:34 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Can't specify distributionManagement in settings.xml From: =?iso-8859-1?Q?Arnaud_H=E9ritier?= In-Reply-To: <6369CB70BFD88942B9705AC1E639A338220095A07A@DC-US1MBEX4.global.avaya.com> Date: Mon, 4 Oct 2010 21:52:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6B6B630B-6CDC-4A1E-8B15-F08E74E25573@gmail.com> References: <63FBFF47-B457-4B08-8723-55EDFD529748@gmail.com> <6369CB70BFD88942B9705AC1E639A338220095A07A@DC-US1MBEX4.global.avaya.com> To: "Maven Users List" X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org It is interesting to have it variable in several cases : - You want to validate your builds on several environments. I'm just = moving my infrastructure and I'm very happy to have that because I'm = able to run a secondary build environment (svn/hudson/nexus) without = touching our production used by developers - You want to deploy the project in another repository because you are = forking it (for an OSS project) and you can redefine this property = instead of using the -DaltDeploymentRepository of the deploy plugin = which has severals bugs. On Oct 4, 2010, at 9:43 PM, Thiessen, Todd (Todd) wrote: > Hehe. It always gets back to that. >=20 > Not sure why your hung up over it ;-). >=20 > What Arnaud is saying does make more sense to me. There is at least a = fixed place in some POM in source control which defines the default = location of where to deploy to. At least this is tracable. >=20 > I am not really all that found of making it a variable though. That = just sounds like extra work for very little gain. >=20 >> -----Original Message----- >> From: Phillip Hellewell [mailto:sshock@gmail.com] >> Sent: Monday, October 04, 2010 3:40 PM >> To: Maven Users List >> Subject: Re: Can't specify distributionManagement in settings.xml >>=20 >> On Mon, Oct 4, 2010 at 1:36 PM, Phillip Hellewell >> wrote: >>> 2010/10/4 Arnaud H=E9ritier : >>>> Wrong :-) >>>> Let me try to explain ... >>>> Your approach to allow to override this parameter using a property = is >> good. >>>> I'm doing it to validate a new version of my repository manager and = so >> on. >>>> But how you are doing it is wrong. >>>=20 >>> I didn't know I could define properties outside of a profile = section. >>> Let me give it a try... >>=20 >> Crap, you can't do that in a settings.xml. To do it outside of a >> profile section it has to be in a pom, so that leads me back to = having >> to use a parent or "corporate" pom :( >>=20 >> Phillip >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org