maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Hellewell <ssh...@gmail.com>
Subject Re: Can't specify distributionManagement in settings.xml
Date Mon, 04 Oct 2010 19:39:45 GMT
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