You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Julien HENRY <he...@yahoo.fr> on 2009/11/05 11:06:06 UTC
Re : Updating a property in the pom from command line
I have created a custom plugin doing this operation. Most of the code come from versions-maven-plugin.
Would you like a patch that add a new goal to versions maven plugin? Or a new separate plugin?
----- Message d'origine ----
> De : Julien HENRY <he...@yahoo.fr>
> À : users@maven.apache.org
> Envoyé le : Jeu 5 Novembre 2009, 9 h 48 min 27 s
> Objet : Updating a property in the pom from command line
>
> Hi,
>
> I would like to update a property in the pom from command line. This property is
> not a version so versions-maven-plugin can't be used.
>
> What I need:
>
> pom contains:
>
>
> toto
>
>
>
> command line:
>
> mvn some-plugin:update-property -Dproperty=a.property -Dvalue=titi
>
>
> result:
>
>
> titi
>
>
>
> Is there an existing plugin to do that?
>
> Thanks
>
> Julien
>
>
>
>
>
> ---------------------------------------------------------------------
> 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: Re : Updating a property in the pom from command line
Posted by Stephen Connolly <st...@gmail.com>.
file a JIRA with the patch and integration tests
2009/11/5 Julien HENRY <he...@yahoo.fr>:
> I have created a custom plugin doing this operation. Most of the code come from versions-maven-plugin.
>
> Would you like a patch that add a new goal to versions maven plugin? Or a new separate plugin?
>
>
>
> ----- Message d'origine ----
>> De : Julien HENRY <he...@yahoo.fr>
>> À : users@maven.apache.org
>> Envoyé le : Jeu 5 Novembre 2009, 9 h 48 min 27 s
>> Objet : Updating a property in the pom from command line
>>
>> Hi,
>>
>> I would like to update a property in the pom from command line. This property is
>> not a version so versions-maven-plugin can't be used.
>>
>> What I need:
>>
>> pom contains:
>>
>>
>> toto
>>
>>
>>
>> command line:
>>
>> mvn some-plugin:update-property -Dproperty=a.property -Dvalue=titi
>>
>>
>> result:
>>
>>
>> titi
>>
>>
>>
>> Is there an existing plugin to do that?
>>
>> Thanks
>>
>> Julien
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org