You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Emmanuel Venisse <em...@venisse.net> on 2004/04/28 12:36:38 UTC

Re: Is they're a way to put my build.properties in aother place than $home ?

----- Original Message ----- 
From: "Nicolas De Loof" <ni...@capgemini.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Wednesday, April 28, 2004 8:43 AM
Subject: Is they're a way to put my build.properties in aother place than
$home ?


> Hello,
>
> I have to configure some nightly builds for several projects on a "nightly
runner" PC. Lot's of the projects it has to
> handle need some config on local machine ($home/build.properties) but some
of them are not compatible.
>
> How can I set maven to use another location than
${user.home}/build.properties ?

You can create a build.properties file in each project directory.

>
> Nico.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Is they're a way to put my build.properties in aother place than $home ?

Posted by Michael Mattox <mi...@verideon.com>.
> > I have to configure some nightly builds for several projects on
> a "nightly
> runner" PC. Lot's of the projects it has to
> > handle need some config on local machine
> ($home/build.properties) but some
> of them are not compatible.
> >
> > How can I set maven to use another location than
> ${user.home}/build.properties ?
>
> You can create a build.properties file in each project directory.

In Maven 1.0 RC3, project.properties will be inherited by all subprojects.
So that means you can put all properties in the root project.properties and
use the build.properties only to override properties in the
project.properties (for example for your filesystem).

Michael Mattox


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org