You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Hoffer <dh...@gmail.com> on 2010/03/31 19:30:03 UTC
How to set maven property using GMaven?
I want to set the value of a maven property using GMaven, what is the
syntax of this?
What I want to do is:
${myProperty} = someString
But that doesn't work. I assume I need to call a setter method somehow??
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to set maven property using GMaven?
Posted by David Hoffer <dh...@gmail.com>.
That seems to be working great. Thank you very much!
-Dave
On Wed, Mar 31, 2010 at 11:42 AM, lukewpatterson
<lu...@gmail.com> wrote:
>
>
> dahoffer wrote:
>>
>> I want to set the value of a maven property using GMaven, what is the
>> syntax of this?
>>
>
> I've successfully used:
>
> project.properties.setProperty('propertyName',propertyValue)
> --
> View this message in context: http://old.nabble.com/How-to-set-maven-property-using-GMaven--tp28099241p28099382.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: How to set maven property using GMaven?
Posted by lukewpatterson <lu...@gmail.com>.
dahoffer wrote:
>
> I want to set the value of a maven property using GMaven, what is the
> syntax of this?
>
I've successfully used:
project.properties.setProperty('propertyName',propertyValue)
--
View this message in context: http://old.nabble.com/How-to-set-maven-property-using-GMaven--tp28099241p28099382.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org