maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Replacing a bunch of -Dkey=value pairs using external file
Date Wed, 09 Sep 2015 00:13:05 GMT
As mentioned, the poms already jam with all the default properties work out
of box for a particular environment.  I just need a friendly way to
override them.  Using settings.xml is the only choice at this moment

Thanks

-Dan

On Tue, Sep 8, 2015 at 5:07 PM, Barrie Treloar <baerrach@gmail.com> wrote:

> On 9 September 2015 at 09:30, Dan Tran <dantran@gmail.com> wrote:
>
> > Hi Barrie,
> >
> > That would work.  On caveat, I have to instruct my user to edit their own
> > settings.xml.  Would be nice if I can just pass in -fp xxx from command
> > line
>
>
> Are they truly always on?
>
> Then you can jam them in your pom.xml
>
> http://maven.apache.org/pom.html#Properties
>
>   <properties>
>     <rat.skip>true</rat.skip>
>   </properties>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message