I just started using Artifactory but can't seem to deploy into the repository no matter what I do.
My settings.xml looks like this:
<servers> <server> <id>ctc-maven-remote-repository</id> <username>admin</username> <password>password</password> </server> </servers>
My pom.xml has this entry:
<distributionManagement> <repository> <id>ctc-maven-remote-repository</id> <name>CTC Repository</name> <url>http://uschi00dev158.chicagotrading.com:8080/artifactory/libs-snapshots</url> </repository> </distributionManagement>
When I run mvn deploy, I got the following error:
[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Failed to transfer file: http://uschi00dev158.chicagotrading.com:8080/artifactory/libs-snapshots/com/ctc/common/messaging/messaging/1.0-SNAPSHOT/messaging-1.0-20080718.165817-2.jar. Return code is: 401
Does anyone know why?
Jie
Log in to post a comment.
I just started using Artifactory but can't seem to deploy into the repository no matter what I do.
My settings.xml looks like this:
<servers>
<server>
<id>ctc-maven-remote-repository</id>
<username>admin</username>
<password>password</password>
</server>
</servers>
My pom.xml has this entry:
<distributionManagement>
<repository>
<id>ctc-maven-remote-repository</id>
<name>CTC Repository</name>
<url>http://uschi00dev158.chicagotrading.com:8080/artifactory/libs-snapshots</url>
</repository>
</distributionManagement>
When I run mvn deploy, I got the following error:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: http://uschi00dev158.chicagotrading.com:8080/artifactory/libs-snapshots/com/ctc/common/messaging/messaging/1.0-SNAPSHOT/messaging-1.0-20080718.165817-2.jar. Return code is: 401
Does anyone know why?
Jie