*DONE*  http://jira.codehaus.org/browse/MNG-2532

> -----Original Message-----
> From: Eric Redmond [mailto:[EMAIL PROTECTED] 
==////==
> 
> Hm. That is a pickle. Since settings.xml profiles override 
> pom and profiles.xml profiles, then if you make it active by 
> default it will always win. But you only want to set the 
> property iff it is not already set. I'd say file an issue 
> under the "Profiles" component.
> 
> http://jira.codehaus.org/browse/MNG
> 
> Eric
> 
> 
> On 8/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >
> > I forgot to mentioned I tried this XML fragment
> >
> >      <profile>
> >        <id>user-install-root</id>
> >        <activation>
> >          <property>
> >            <name>!user.install.root</name>
> >          </property>
> >        </activation>
> >        <properties>
> >          <user.install.root>C:\\Program 
> > Files\\IBM\\WebSphere\\AppServer</user.install.root>
> >        </properties>
> >      </profile>
> >
> > But it did not work for me at all!
> >
> >
> > > -----Original Message-----
> > > From: Eric Redmond [mailto:[EMAIL PROTECTED]
> > > Sent: 23 August 2006 13:38
> > > To: Maven Users List
> > > Subject: Re: Use System Properties in Settings.xml?
> > >
> > > You create at profile in settings.xml that is active by 
> default, and 
> > > contains a properties element with the property you wish 
> to active.
> > >
> > >
==////==

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to