maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/repository RepositoryUtils.java
Date Mon, 07 Mar 2005 05:02:31 GMT
brett       2005/03/06 21:02:31

  Modified:    maven-model maven.mdo
               maven-core/src/main/java/org/apache/maven/repository
                        RepositoryUtils.java
  Log:
  add private key, passphrase until we have them in the user configuration
  
  Revision  Changes    Path
  1.77      +15 -0     maven-components/maven-model/maven.mdo
  
  Index: maven.mdo
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-model/maven.mdo,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- maven.mdo	27 Feb 2005 22:34:00 -0000	1.76
  +++ maven.mdo	7 Mar 2005 05:02:31 -0000	1.77
  @@ -1459,6 +1459,7 @@
             ]]></description>
             <type>String</type>
           </field>
  +        <!-- @todo this should be in the user configuration -->
           <field>
             <name>username</name>
             <version>4.0.0</version>
  @@ -1472,6 +1473,20 @@
             <description>The password to use when connecting to the repository. If
omitted, none is used.</description>
             <type>String</type>
           </field>
  +        <!-- @todo this should be in the user configuration -->
  +        <field>
  +          <name>privateKey</name>
  +          <version>4.0.0</version>
  +          <description>The private key to use when connecting to the repository (SSH
only)</description>
  +          <type>String</type>
  +        </field>
  +        <!-- @todo this should be in the user configuration -->
  +        <field>
  +          <name>passphrase</name>
  +          <version>4.0.0</version>
  +          <description>The passphrase for the private key to use when connecting
to the repository (SSH only)</description>
  +          <type>String</type>
  +        </field>
         </fields>
         <codeSegments>
           <codeSegment>
  
  
  
  1.8       +3 -1      maven-components/maven-core/src/main/java/org/apache/maven/repository/RepositoryUtils.java
  
  Index: RepositoryUtils.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/repository/RepositoryUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RepositoryUtils.java	9 Feb 2005 06:17:38 -0000	1.7
  +++ RepositoryUtils.java	7 Mar 2005 05:02:31 -0000	1.8
  @@ -56,6 +56,8 @@
               AuthenticationInfo authInfo = new AuthenticationInfo();
               authInfo.setUserName( mavenRepository.getUsername() );
               authInfo.setPassword( mavenRepository.getPassword() );
  +            authInfo.setPrivateKey( mavenRepository.getPrivateKey() );
  +            authInfo.setPassphrase( mavenRepository.getPassphrase() );
               retValue.setAuthenticationInfo( authInfo );
           }
           retValue.setUrl( mavenRepository.getUrl() );
  
  
  

Mime
View raw message