[ http://jira.codehaus.org/browse/SCM-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102800 ]
Max Bowsher commented on SCM-320: --------------------------------- Is there any reason to assume en_EN is a valid locale? Certainly, on all the machines I've looked at, it is *not* valid. If the intent is to disable all message translation, then LC_MESSAGES=C would be a better choice. Subversion 1.3 and earlier treated invalid locales as a fatal error - as such, this problem is a critical showstopper in environments using old versions of Subversion. It will not surface in environments using Subversion 1.4 and later, but it is inappropriate for Maven to require a relatively recent version like that - especially as an unannounced regression. Due to the use of maven-scm in the maven-release-plugin, this is likely to impact lots of people. I would suggest that this needs a fix reasonably rapidly. > svn: error: cannot set LC_ALL locale > ------------------------------------ > > Key: SCM-320 > URL: http://jira.codehaus.org/browse/SCM-320 > Project: Maven SCM > Issue Type: Bug > Components: maven-scm-provider-svn > Affects Versions: 1.0 > Environment: Linux 2.6.17.13-rev2-AM.RS #7 SMP Tue Nov 14 12:55:12 > PST 2006 x86_64 x86_64 x86_64 GNU/Linux > Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode) > Maven 2.0.5 > Reporter: Tim Morrow > > I'm using Maven 2.0.5. After the recent update to scm plugin version 1.0, my > updates from a subversion repository fail. I get this: > {noformat} > $ mvn scm:update > [INFO] [scm:update] > [INFO] Executing: svn --non-interactive update > [INFO] Working directory: /the/right/path > [ERROR] Provider message: > [ERROR] The svn command failed. > [ERROR] Command output: > [ERROR] svn: error: cannot set LC_ALL locale > svn: error: environment variable LANG is not set > svn: error: please check that your locale name is correct > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Command failed.The svn command failed. > [INFO] > ------------------------------------------------------------------------ > {noformat} > * Note that running "svn update" from the command line works just fine. > * I did try setting the LANG environment variable to "en" then "en_US" > locale, but that didn't work either. > * If I set the maven-scm-plugin version to 1.0-rc1 or 1.0-beta-4, it works > fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira