You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Victor Homyakov (JIRA)" <ji...@codehaus.org> on 2012/11/20 22:03:13 UTC

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

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

       

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

Posted by "Victor Homyakov (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314035#comment-314035 ] 

Victor Homyakov commented on MRELEASE-802:
------------------------------------------

JIRA itself has problems with national characters and backslashes... Another try:

USERNAME=&#1042;&#1080;&#1082;&#1090;&#1086;&#1088;
USERPROFILE=C:\Users\&#1042;&#1080;&#1082;&#1090;&#1086;&#1088;

Maven searches repository in C:\Users\\??????\.m2\repository\ instead of C:\Users\&#1042;&#1080;&#1082;&#1090;&#1086;&#1088;\.m2\repository\

(When I place single backslash between "Users" and "?" - it isn't visible, when place two backslashes - they both are visible. WTF?)

                
> 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

       

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

Posted by "Victor Homyakov (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314037#comment-314037 ] 

Victor Homyakov edited comment on MRELEASE-802 at 11/20/12 3:14 PM:
--------------------------------------------------------------------

The only reliable way to show non-ascii characters is screenshot
                
      was (Author: victor-homyakov):
    The only reliable way to show non-ascii characters
                  
> 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
>         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 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

       

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

Posted by "Victor Homyakov (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Victor Homyakov updated MRELEASE-802:
-------------------------------------

    Attachment: screenshot.png

The only reliable way to show non-ascii characters
                
> 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
>         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 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