improve m2-deploy tasks authentication support
----------------------------------------------

                 Key: SOLR-806
                 URL: https://issues.apache.org/jira/browse/SOLR-806
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 1.3
            Reporter: Stefan Oestreicher
            Priority: Trivial


The m2-deploy task uses the authentication element with the username and 
privateKey attribute to set the user credentials. Unfortunately the privateKey 
attribute is only applicable for ssh connections. 

Quote from http://maven.apache.org/ant-tasks.html:
bq. It accepts the attributes username, password, and for SSH based 
repositories privateKey and passphrase.

Therefore authentication fails for non-ssh connections. I worked around that by 
using the "password" attribute instead of privateKey. However I'd prefer not 
having to modify the build file. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to