You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/01/12 21:12:44 UTC

[jira] [Closed] (MRELEASE-802) Windows 7 russian - plugin uses wrong encoding for path to .m2\repository during release:prepare

     [ https://issues.apache.org/jira/browse/MRELEASE-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MRELEASE-802.
-----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still persists, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> Windows 7 russian - plugin uses wrong encoding for path to .m2\repository during release:prepare
> ------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-802
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-802
>             Project: Maven 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
>         Attachments: screenshot.png
>
>
> {{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 was sent by Atlassian JIRA
(v6.3.4#6332)