You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul MERLIN <pa...@nosphere.org> on 2009/05/05 09:16:21 UTC
[release/scm] Can system locale change release:prepare behavior ?
Hey,
I posted this one to dev@ by mistake, here it is again to users@.
I'm facing weird problems with the maven-release-plugin and friends.
I use maven-release-plugin-2.0-beta-9 and get the same results with either
maven 2.1.0 or 2.2.0-RC1.
I tried with two subversion clients with the same results too : 1.4.6 and
1.6.1.
I'm issuing the following instruction :
mvn -B clean release:prepare -DreleaseVersion=0.4.0 -
DdevelopmentVersion=0.5.0-SNAPSHOT
I'm getting the following error (full execution log is attached to this
email):
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Impossible de trouver la localisation dans le d�p�t de
'svn://acme.net/trunk/ekPom' pour la r�vision 0
So, a little bit upset I tried bizarre things and found something interesting,
IOW: back to roots :)
My default locale is fr_FR.UTF-8, if I use LC_ALL as C or en_US.UTF-8
everything is working as expected !!
What do you think ?
/Paul
Re: [release/scm] Can system locale change release:prepare behavior ?
Posted by Paul MERLIN <pa...@nosphere.org>.
Le mardi 05 mai 2009 11:09:37, Baptiste MATHUS a écrit :
> I already had this kind of problem. From what I remember, I just removed
> all the localization files from the subversion installation directory.
> Actually, I think that the maven-scm-api reads the output of the CLI, and
> it doesn't understand when it doesn't display the output in english...
>
> Cheers.
Thanks for your answer Baptiste.
Someone answered in the dev@ list too :
Le mardi 05 mai 2009 11:05:13, Grzegorz Slowikowski a écrit :
> Maven parses scm output. I don't remember details, but I've had the same
> problem.
> My solution was permanent setting LC_MESSAGES to "C".
>
> Greetings
>
> Grzegorz Slowikowski
I don't know yet how I will handle this accross developers.
Thanks.
/Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [release/scm] Can system locale change release:prepare behavior ?
Posted by Baptiste MATHUS <ml...@batmat.net>.
I already had this kind of problem. From what I remember, I just removed all
the localization files from the subversion installation directory. Actually,
I think that the maven-scm-api reads the output of the CLI, and it doesn't
understand when it doesn't display the output in english...
Cheers.
2009/5/5 Paul MERLIN <pa...@nosphere.org>
> Hey,
>
> I posted this one to dev@ by mistake, here it is again to users@.
>
> I'm facing weird problems with the maven-release-plugin and friends.
> I use maven-release-plugin-2.0-beta-9 and get the same results with either
> maven 2.1.0 or 2.2.0-RC1.
> I tried with two subversion clients with the same results too : 1.4.6 and
> 1.6.1.
>
>
> I'm issuing the following instruction :
>
> mvn -B clean release:prepare -DreleaseVersion=0.4.0 -
> DdevelopmentVersion=0.5.0-SNAPSHOT
>
>
>
> I'm getting the following error (full execution log is attached to this
> email):
>
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Impossible de trouver la localisation dans le dépôt de
> 'svn://acme.net/trunk/ekPom' pour la révision 0
>
>
>
> So, a little bit upset I tried bizarre things and found something
> interesting,
> IOW: back to roots :)
>
> My default locale is fr_FR.UTF-8, if I use LC_ALL as C or en_US.UTF-8
> everything is working as expected !!
>
>
> What do you think ?
>
> /Paul
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !