If it's for all your projects you can set it in the build.properties on the
account you use to launch CC.
Arnaud
> -Message d'origine-
> De : Mick Knutson [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 septembre 2005 22:20
> À : users@maven.apache.org
> Objet : how do I override a par
If it's only for one project in CC, you could create a custom goal on this
project :
maven.xml :
And you call this goal from CC
Arnaud
> -Message d'origine-
> De : Mick Knutson [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 septembre 2005 22:20
> À : users@maven.apache.or
t; <[EMAIL PROTECTED]>
Reply-To: "Maven Users List"
To: "'Maven Users List'"
Subject: RE: how do I override a parameter for a value in my build.props in
crusieControl?
Date: Wed, 28 Sep 2005 22:34:57 +0200
If it's only for one project in CC, you could
yes.
http://maven.apache.org/reference/properties.html#Property_Processing
Arnaud
On 9/28/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> now if xxx is defined in my build.properties, will this override the
> build.properties value?
>
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE
Unfortunately, the Maven integration for CC doesn't have separate
elements for setting properties like the Ant integration does. However,
since you've created your own Maven.bat that CC calls, you can add the
properties there. For example:
@echo "C:\Maven_1.0.2\Maven.bat" -Dmyprop=value %*
call