You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bernhard Mähr (JIRA)" <ji...@codehaus.org> on 2010/10/25 13:07:05 UTC

[jira] Created: (MNG-4877) Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost

Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost
-------------------------------------------------------------------------------------

                 Key: MNG-4877
                 URL: http://jira.codehaus.org/browse/MNG-4877
             Project: Maven 2 & 3
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Bernhard Mähr


Hello!

Using the maven-deploy-plugin version 2.5 to deploy to a server with scp and private key fails after the upgrade to maven 3.

The configuration is stored in setting.xml
      <id>mymavenrepo</id>
      <username>myuser</username>
      <privateKey>C:/Dokumente und Einstellungen/bmaehr/.ssh/myprivatekey.id</privateKey>
      <passphrase>mypassword</passphrase>

The configuration is correctly loaded by maven and available at org.apache.maven.repository.legacy.LegacyRepositorySystem.getAuthentication(RepositorySystemSession, ArtifactRepository). But at this place the conversation to org.apache.maven.artifact.repository.Authentication happens and only username and password is forwarded and privateKey and passphrase gets lost.
At org.apache.maven.RepositoryUtils.toRepo(ArtifactRepository) the information is converted back to org.sonatype.aether.repository.Authentication but the privateKey and passphrase are not recovered. 



-- 
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] Reopened: (MNG-4877) Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann reopened MNG-4877:
------------------------------------


> Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-4877
>                 URL: http://jira.codehaus.org/browse/MNG-4877
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Bernhard Mähr
>             Fix For: 3.0.1
>
>
> Hello!
> Using the maven-deploy-plugin version 2.5 to deploy to a server with scp and private key fails after the upgrade to maven 3.
> The configuration is stored in setting.xml
>       <id>mymavenrepo</id>
>       <username>myuser</username>
>       <privateKey>C:/Dokumente und Einstellungen/bmaehr/.ssh/myprivatekey.id</privateKey>
>       <passphrase>mypassword</passphrase>
> The configuration is correctly loaded by maven and available at org.apache.maven.repository.legacy.LegacyRepositorySystem.getAuthentication(RepositorySystemSession, ArtifactRepository). But at this place the conversation to org.apache.maven.artifact.repository.Authentication happens and only username and password is forwarded and privateKey and passphrase gets lost.
> At org.apache.maven.RepositoryUtils.toRepo(ArtifactRepository) the information is converted back to org.sonatype.aether.repository.Authentication but the privateKey and passphrase are not recovered. 

-- 
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] Closed: (MNG-4877) Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4877.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.1
         Assignee: Benjamin Bentmann

Fixed in [r1029208|http://svn.apache.org/viewvc?view=revision&revision=1029208].

> Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-4877
>                 URL: http://jira.codehaus.org/browse/MNG-4877
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Bernhard Mähr
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0.1
>
>
> Hello!
> Using the maven-deploy-plugin version 2.5 to deploy to a server with scp and private key fails after the upgrade to maven 3.
> The configuration is stored in setting.xml
>       <id>mymavenrepo</id>
>       <username>myuser</username>
>       <privateKey>C:/Dokumente und Einstellungen/bmaehr/.ssh/myprivatekey.id</privateKey>
>       <passphrase>mypassword</passphrase>
> The configuration is correctly loaded by maven and available at org.apache.maven.repository.legacy.LegacyRepositorySystem.getAuthentication(RepositorySystemSession, ArtifactRepository). But at this place the conversation to org.apache.maven.artifact.repository.Authentication happens and only username and password is forwarded and privateKey and passphrase gets lost.
> At org.apache.maven.RepositoryUtils.toRepo(ArtifactRepository) the information is converted back to org.sonatype.aether.repository.Authentication but the privateKey and passphrase are not recovered. 

-- 
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] Closed: (MNG-4877) Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-4877.
-----------------------------

    Resolution: Duplicate

> Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-4877
>                 URL: http://jira.codehaus.org/browse/MNG-4877
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Bernhard Mähr
>
> Hello!
> Using the maven-deploy-plugin version 2.5 to deploy to a server with scp and private key fails after the upgrade to maven 3.
> The configuration is stored in setting.xml
>       <id>mymavenrepo</id>
>       <username>myuser</username>
>       <privateKey>C:/Dokumente und Einstellungen/bmaehr/.ssh/myprivatekey.id</privateKey>
>       <passphrase>mypassword</passphrase>
> The configuration is correctly loaded by maven and available at org.apache.maven.repository.legacy.LegacyRepositorySystem.getAuthentication(RepositorySystemSession, ArtifactRepository). But at this place the conversation to org.apache.maven.artifact.repository.Authentication happens and only username and password is forwarded and privateKey and passphrase gets lost.
> At org.apache.maven.RepositoryUtils.toRepo(ArtifactRepository) the information is converted back to org.sonatype.aether.repository.Authentication but the privateKey and passphrase are not recovered. 

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