mirror of https://github.com/apache/maven.git
add private key, passphrase until we have them in the user configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
323eecfc57
commit
5eb67a452f
|
@ -56,6 +56,8 @@ public class RepositoryUtils
|
|||
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() );
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue