|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[artifactory - Help] can't deploy to artifactory -- always get 401Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5105763 By: jieyao 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-snapsho ts</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 ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=603429 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: [artifactory - Help] can't deploy to artifactory -- always get 401Am 18.07.2008 um 19:32 schrieb SourceForge.net: > > Read and respond to this message at: > https://sourceforge.net/forum/message.php?msg_id=5105763 > By: jieyao > > 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-snapsho > ts</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 So either your username and password are not set correctly in the settings or your maven installation doesn't read them properly from the settings.xml? > > > Does anyone know why? > > Jie > > > > > ______________________________________________________________________ > You are receiving this email because you elected to monitor this > forum. > To stop monitoring this forum, login to SourceForge.net and visit: > https://sourceforge.net/forum/unmonitor.php?forum_id=603429 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Artifactory-users mailing list > Artifactory-users@... > https://lists.sourceforge.net/lists/listinfo/artifactory-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: [artifactory - Help] can't deploy to artifactory -- always get 401Which version of Artifactory are you using?
In 1.3.0-beta-1 (we removed it) with JDK5 on Windows an annoying issue appeared with spring security. It is solved in beta-2. If this not your case, you should look at the server log (access.log and artifactory.log) for the exact cause of unauthorized access. On Fri, Jul 18, 2008 at 8:32 PM, SourceForge.net <noreply@...> wrote:
-- http://freddy33.blogspot.com/ http://www.jfrog.org/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: [artifactory - Help] can't deploy to artifactory -- always get 401|[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? If you read your logs you might get a "no permission to...". I ran into similar problems, and I made a new user called 'deployer' which I gave the permissions to deploy into the given local snapshot repository. In addition you should probably deploy to 'libs-snapshots-local' not 'libs-snapshots'. Knubo |
| Free embeddable forum powered by Nabble | Forum Help |