|
From: haiko v. d. s. (JIRA) <ji...@jf...> - 2008-11-07 14:51:45
|
Suspected bug: Artifactory does not correctly detect Authentication info from Wagon with deploying
--------------------------------------------------------------------------------------------------
Key: RTFACT-880
URL: http://www.jfrog.org/jira/browse/RTFACT-880
Project: Artifactory
Issue Type: Bug
Components: Security
Affects Versions: 1.3.0-beta-5
Reporter: haiko van der schaaf
Assignee: Yoav Landman
This is a possible bug, I can only deduce this may be the case. I use the lightweigt HTTP protocol for deploying. Just the normal Maven default. I CAN deploy the artifact as anonymous to the repository.
But it goes wrong when I use the security of artifactory. I have in Artifactory a user permitted to deploy and I have them in my settings.xml as follow:
<server>
<id>public.snapshots</id>
<username>work</username>
<password>deploy4fun</password>
</server>
I checked with mvn help:effective-settings and the server is listed in settinggs.xml
When I deploy I get a 401 and see this in the acces log of artifactory:
2008-11-07 15:42:15,159 [DENIED DEPLOY] libs-snapshots-public:nl/cybersnippet/easycomparator/0.0.1-SNAPSHOT/easycomparator-0.0.1-20081107.144022-14.jar for anonymous.
This is not the case with artifactory 1.2.5. I am using Artifactory 1.3.0-beta-5 (rev. 2282).
Debug info from the Wagon plugin
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from public.snapshots
Uploading: http://artifactory.cybersnippet.nl:8080/libs-snapshots-public/nl/cybersnippet/easycomparator/0.0.1-SNAPSHOT/easycomparator-0.0.1-20081107.144022-14.jar
5K uploaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: http://artifactory.cybersnippet.nl:8080/libs-snapshots-public/nl/cybersnippet/easycomparator/0.0.1-SNAPSHOT/easycomparator-0.0.1-20081107.144022-14.jar. Return code is: 401
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.jfrog.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|