maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiessen, Todd (Todd)" <tthies...@avaya.com>
Subject RE: Can't specify distributionManagement in settings.xml
Date Mon, 04 Oct 2010 19:43:26 GMT
Hehe. It always gets back to that.

Not sure why your hung up over it ;-).

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.

I am not really all that found of making it a variable though. That just sounds like extra
work for very little gain.

> -----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
> 
> On Mon, Oct 4, 2010 at 1:36 PM, Phillip Hellewell <sshock@gmail.com>
> wrote:
> > 2010/10/4 Arnaud Héritier <aheritier@gmail.com>:
> >> 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.
> >
> > I didn't know I could define properties outside of a profile section.
> > Let me give it a try...
> 
> 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 :(
> 
> Phillip
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

Mime
View raw message