You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Miki Tebeka (JIRA)" <ji...@codehaus.org> on 2011/05/27 20:32:22 UTC

[jira] Created: (WAGON-333) Maven 3 fails when password is too long

Maven 3 fails when password is too long
---------------------------------------

                 Key: WAGON-333
                 URL: http://jira.codehaus.org/browse/WAGON-333
             Project: Maven Wagon
          Issue Type: Bug
         Environment: maven 3, linux, sun jdk 1.6, artifactory 2.2.3
            Reporter: Miki Tebeka


I have a long password (16 chars) that causes issues with the default wagon
provider (same as http://jira.codehaus.org/browse/MNG-4754)
Using maven 2 I was able to solve that by adding
     <configuration>
       <wagonProvider>httpclient</wagonProvider>
     </configuration>
to ~/.m2/settings.xml

We switched to maven 3 and the problem reappeared.

-- 
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

        

[jira] Updated: (WAGON-333) Maven 3 fails when password is too long

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/WAGON-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated WAGON-333:
-------------------------------

    Fix Version/s: backlog

issue with long password with lightweight : not sure what we can do here.

> Maven 3 fails when password is too long
> ---------------------------------------
>
>                 Key: WAGON-333
>                 URL: https://jira.codehaus.org/browse/WAGON-333
>             Project: Maven Wagon
>          Issue Type: Bug
>         Environment: maven 3, linux, sun jdk 1.6, artifactory 2.2.3
>            Reporter: Miki Tebeka
>             Fix For: backlog
>
>
> I have a long password (16 chars) that causes issues with the default wagon
> provider (same as http://jira.codehaus.org/browse/MNG-4754)
> Using maven 2 I was able to solve that by adding
>      <configuration>
>        <wagonProvider>httpclient</wagonProvider>
>      </configuration>
> to ~/.m2/settings.xml
> We switched to maven 3 and the problem reappeared.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (WAGON-333) Maven 3 fails when password is too long

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268754#action_268754 ] 

Mark Struberg commented on WAGON-333:
-------------------------------------

from looking at MNG-4754 it looks like you use a security hashed password as is described in 

http://maven.apache.org/guides/mini/guide-encryption.html

If this is the case, could you please try if (temporarily) with writing your password into your settings.xml in plaintext? If this works, then its something with the encryption detection, otherwise its really something with the parsing. txs!

> Maven 3 fails when password is too long
> ---------------------------------------
>
>                 Key: WAGON-333
>                 URL: http://jira.codehaus.org/browse/WAGON-333
>             Project: Maven Wagon
>          Issue Type: Bug
>         Environment: maven 3, linux, sun jdk 1.6, artifactory 2.2.3
>            Reporter: Miki Tebeka
>
> I have a long password (16 chars) that causes issues with the default wagon
> provider (same as http://jira.codehaus.org/browse/MNG-4754)
> Using maven 2 I was able to solve that by adding
>      <configuration>
>        <wagonProvider>httpclient</wagonProvider>
>      </configuration>
> to ~/.m2/settings.xml
> We switched to maven 3 and the problem reappeared.

-- 
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

        

[jira] Commented: (WAGON-333) Maven 3 fails when password is too long

Posted by "Miki Tebeka (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268753#action_268753 ] 

Miki Tebeka commented on WAGON-333:
-----------------------------------

Credentials are set via the <server> tag in settings.xml

> Maven 3 fails when password is too long
> ---------------------------------------
>
>                 Key: WAGON-333
>                 URL: http://jira.codehaus.org/browse/WAGON-333
>             Project: Maven Wagon
>          Issue Type: Bug
>         Environment: maven 3, linux, sun jdk 1.6, artifactory 2.2.3
>            Reporter: Miki Tebeka
>
> I have a long password (16 chars) that causes issues with the default wagon
> provider (same as http://jira.codehaus.org/browse/MNG-4754)
> Using maven 2 I was able to solve that by adding
>      <configuration>
>        <wagonProvider>httpclient</wagonProvider>
>      </configuration>
> to ~/.m2/settings.xml
> We switched to maven 3 and the problem reappeared.

-- 
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