Victor Homyakov created MRELEASE-802:
----------------------------------------

             Summary: Windows 7 russian - plugin uses wrong encoding for path 
to .m2\repository during release:prepare
                 Key: MRELEASE-802
                 URL: https://jira.codehaus.org/browse/MRELEASE-802
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.3.2
         Environment: OS Windows 7 russian
User account has national characters: USERPROFILE=C:\Users\Виктор
Maven .m2 folder has default location in %USERPROFILE%\.m2 i.e. 
C:\Users\Виктор\.m2

            Reporter: Victor Homyakov
            Priority: Critical


{{mvn clean install}} and {{mvn clean deploy}} commands are working without 
problems - needed plugins are downloaded and jars installed to my 
{{.m2\repository}}.

But when starting mvn release:prepare, it gives errors with output:

{code}
[INFO] [release:prepare {execution: default-cli}]
[INFO] Resuming release from phase 'run-preparation-goals'
[INFO] Executing goals 'clean verify'...
[INFO] Executing: cmd.exe /X /C "C:\Bin\maven\bin\..\bin\mvn -s 
C:\Users\51FB~1\AppData\Local\Temp\release-settings7085663422359991829.xml 
clean verify --no-plugin-updates -Psonatype-oss-release -P sonatype-oss-release"
    [INFO] Scanning for projects...
    Downloading: 
http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
    [WARNING] Unable to get resource 'org.sonatype.oss:oss-parent:pom:7' from 
repository central (http://repo1.maven.org/maven2): Specified destination 
directory cannot be created: 
C:\Users\??????\.m2\repository\org\sonatype\oss\oss-parent\7
    [INFO] 
------------------------------------------------------------------------
    [ERROR] FATAL ERROR
    [INFO] 
------------------------------------------------------------------------
    [INFO] Error building POM (may not be this project's POM).
{code}

Note username replaced with question signs: {{C:\Users\??????\.m2\repository\}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to