site-deploy ignores password from settings.xml
----------------------------------------------

                 Key: MSITE-588
                 URL: http://jira.codehaus.org/browse/MSITE-588
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
          Components: site:deploy
    Affects Versions: 3.0-beta-3
            Reporter: Benson Margulies


Trying to do site deployment on 

org.apache.maven.plugins:maven-plugins:21, with credentials in settings.xml the 
plugin gets the user name from settings but ignores the password, and fails. 
(It also fails to use my ssh public key):

/opt/apache-maven-3.0.3/bin/mvn site-deploy -Preporting 
-DstagingRepositoryId=apache.website -X --batch-mode 

[INFO] --- maven-site-plugin:3.0-beta-3:deploy (default-deploy) @ maven-plugins 
---
[DEBUG] Configuring mojo 
org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:deploy from plugin realm 
ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:3.0-beta-3, 
parent: sun.misc.Launcher$AppClassLoader@53372a1a]
[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:deploy' with basic 
configurator -->
[DEBUG]   (f) chmod = true
[DEBUG]   (f) chmodMode = g+w,a+rX
[DEBUG]   (f) chmodOptions = -Rf
[DEBUG]   (f) inputDirectory = 
/Users/benson/asf/mvn/plugins/plugins/maven-plugins/target/checkout/target/site
[DEBUG]   (f) mavenSession = org.apache.maven.execution.MavenSession@5a749436
[DEBUG]   (f) project = MavenProject: org.apache.maven.plugins:maven-plugins:21 
@ /Users/benson/asf/mvn/plugins/plugins/maven-plugins/target/checkout/pom.xml
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@7b8353cf
[DEBUG] -- end configuration --
[DEBUG] The site will be deployed to url 
'scp://people.apache.org/www/maven.apache.org/plugins/' with id 'apache.website'
[DEBUG] repository protocol scp
[DEBUG] getProxy 'protocol' : scp
[DEBUG] getProxy 'protocol' : scp no ProxyInfo found
[DEBUG] found proxyInfo null
[DEBUG] authenticationInfo with id 'apache.website' : bimargulies
[DEBUG]  configureWagon
[DEBUG] configureWagon server github-project-site
[DEBUG] configureWagon server apache.cxf.site
[DEBUG] configureWagon server sonatype-nexus-snapshots
[DEBUG] configureWagon server sonatype-nexus-staging
[DEBUG] configureWagon server apache.releases.https
[DEBUG] configureWagon server apache.snapshots.https
[DEBUG] configureWagon server neethi-website
[DEBUG] configureWagon server apache.website
[DEBUG] configureWagon server java.net-maven2-repository
[DEBUG] configureWagon server codehausSnap
[DEBUG] configureWagon server basis.3rdParty
[DEBUG] configureWagon server basis.releases
[DEBUG] configureWagon server basistech.3rdparty
[DEBUG] configureWagon server basistech.snapshot.repo
[DEBUG] configureWagon server basistech.repo
[DEBUG] configureWagon server org.sleuthkit.sleuthkit-hadoop.website
[DEBUG] configureWagon server codehaus.org
[DEBUG] configureWagon server codehaus-nexus-staging
[DEBUG] configureWagon server codehaus-nexus-snapshots
[DEBUG] connect with authenticationInfo and without proxyInfo

: Keyboard interactive required, supplied password is ignored
Password: :


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

        

Reply via email to