AttachmentsActivity All Comments History Activity Ascending order - Click to sort in descending order Hide Permalink Michał Staruch added a comment - 27/Mar/15 9:52 AM We've found workaround: creating ~/.m2/settings.xml file I edited the question to reflect the changes already! Links: How to create a "MS Excel"-compatible CSVfile → Search Recent Posts Missing plugins for your NetBeans nightlybuilds? Output: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building XBN-Java 0.1.3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- build-helper-maven-plugin:1.8:attach-artifact (attach-artifacts) @ xbnjava --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ xbnjava --- [INFO] this contact form
Now I know my ABCs, won't you come and golf with me? asked 2 years ago viewed 39944 times active 2 months ago Linked 3 now getting 401 unauthorized in jenkins when deploying artifact to archiva maven repo 0 Maven - Error code How to protect an army from a Storm of Vengeance Rosa Parks is a [symbol?] for the civil rights movement? netbeans.org/community/rele… Find showstoppers as we march on to the release.
share|improve this answer answered Nov 18 '14 at 13:34 betty 317 I got the same "Could not find metadata" debug message but the actual error was another one: I Modern soldiers carry axes instead of combat knives. First Step on JDeveloper 11g TP4 Oracle has launched the Technology Preview 4 of the JDeveloper 11g IDE suite.
ERROR [http-bio-8085-exec-2861] [ServerConfigManager] Error while retrieving target repository list from: https://server/artifactory java.io.IOException: Failed to obtain list of repositories: HTTP response code: 401. Classes, sets and Russell's paradox Train carriages in the Czech Republic Is there any way to make the cut command read the last field only? Free forum by Nabble Edit this page Failed To Transfer File Return Code Is 401 Reasonphrase Unauthorized Is this safe to display MySQL query error in webpage if something went wrong?
I use my real user/pass when logging in, and in the real settings file. –aliteralmind Jul 18 '14 at 17:49 add a comment| 9 Answers 9 active oldest votes up vote Error Deploying Artifact Failed To Transfer File Return Code Is 401 HTTP response message: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:661) at org.jfrog.build.client.ArtifactoryBuildInfoClient.getRepositoriesList(ArtifactoryBuildInfoClient.java:196) at org.jfrog.build.client.ArtifactoryBuildInfoClient.getLocalRepositoriesKeys(ArtifactoryBuildInfoClient.java:146) at org.jfrog.bamboo.admin.ServerConfigManager.getDeployableRepos(ServerConfigManager.java:179) at org.jfrog.bamboo.admin.ArtifactoryConfigServlet.doGet(ArtifactoryConfigServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) Hide Permalink Eyal Ben Moshe Train carriages in the Czech Republic How to deal with a very weak student? http://stackoverflow.com/questions/20788451/return-code-401-with-maven-3-uploading-snapshot-to-artifactory Although it said that it was an authentication error actually it got fixed doing a "rebuild metadata" in the nexus repository.
Return code is: 401 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:141) at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:167) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:157) ... 21 more Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact sg.com.pinder:pinder:jar:0.0.1-20131227.084815-1 from/to ServerA2 (http://192.168.1.16:8081/artifactory/libs-snapshot-local): Failed to transfer Maven Artifactory Not Authorized I attempted to use curl to manually deploy an artifact, with the command [C:\]curl -u MY_SONATYPE_DOT_COM_USERNAME:MY_SONATYPE_DOT_COM_PASSWORD https://oss.sonatype.org/content/repositories/snapshots/com/github/aliteralmind/xbnjava/0.1.2-SNAPSHOT/xbnjava-0.1.2-20140716.224928-1.pom --request PUT --data @pom.xml but got this error: Warning: Couldn't read data from file If the server is using https but the URL in your POM is http, you might get 401 as well. Here's the error I'm getting when calling mvn deploy (full logs at the bottom): [INFO] BUILD FAILURE [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project xbnjava: Failed to deploy artifacts:
Return code is: 401, ReasonPhrase: Unauthorized. Show Ryan Goodwin added a comment - 18/Aug/15 6:33 PM Looks like that could be the issue. Maven Deploy Artifactory 401 Further details can be found here: https://issues.apache.org/jira/browse/WAGON-421 share|improve this answer edited Jun 8 '15 at 16:04 Robin Green 17.3k344113 answered Dec 3 '14 at 3:06 Grant Currey 211 add a comment| Failed To Deploy File: Http Response Code: 401. Http Response Message: Unauthorized Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are
Charging the company I work for to rent from myself In what way isn't SFTP based on SSH? Farhan. Where exactly did you put your settings.xml file?I have my settings.xml file in /usr/share/tomcat6/.m2/However, I temporarily changed artifactory to allow anonymous users to deploy, and I still get an "Authorization failed: Return code is: 401 [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: http://vbase.xyz.com/artifactory/repo/itext/itext/2.0.4/itext-2.0.4.jar. Error Deploying Artifact Failed To Transfer File Return Code Is 400
What does Sauron need with mithril? The project's settings: Checklist item 3. Looking for "turn to dust" alternative as a single word What happens to Batgirl after The Killing Joke? Return code is: 401 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:257) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:423) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:402) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:376) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:811) ... 28 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions,
Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). Maven Deploy Username Password asked 2 years ago viewed 4871 times active 2 years ago Related 0maven install giving error for a jar installed via artifactory2How to manage artifactory / maven artifact using different profiles1Artifactory Initially I thought it was because of w...
Charging the company I work for to rent from myself Is it possible to write a function template which returns whether the number of arguments is divisible by N? Next, make sure you have the appropriate login information in the settings.xml to access your repository for read and write access. Once you are logged in, click over your user name, on the superior right corner of the screen. Failed To Deploy Artifacts Could Not Transfer Artifact Return Code Is 400 Reasonphrase Bad Request settings.xml
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Related This entry was tagged deploy, maven, site, upload. Artifactory v 3.9.2.
mfs wrote Hello Guys, Any clue as to why am i getting the following error on deploying an artifact on artifactory repo using maven deploy:deploy-file..it says "Failed to transfer file : Not the answer you're looking for? Either publish using a different version number, or delete the old artefact on the server and republish. Note the difference between BARNAME and FOONAME!
Make sure your username/password is correct by logging into the Nexus UI. I ran it again with the -k option, and this time got only this: Couldn't read data from file "pom.xml", this makes an empty POST. Does this occur in Artifactory as well? -----Original Message----- From: Erik Drolshammer [mailto:[hidden email]] Sent: Wednesday, December 26, 2007 7:26 AM To: Maven Users List Subject: Re: mvn deploy on Artifactory Join them; it only takes a minute: Sign up Return Code 401 with Maven 3 uploading SNAPSHOT to Artifactory up vote 0 down vote favorite 1 I am running the following:
share|improve this answer answered Jan 28 at 13:30 Alberto M 416422 1 Hint: many curl implementations require options to come before the URL. Hide Permalink Ryan Goodwin added a comment - 18/Aug/15 6:33 PM Looks like that could be the issue. If there is no error output, ensure your user privileges are correctly configured on the server. You will get a 401 Unauthorized error if you supply the wrong credentials (password etc).
Align equation while centering symbol Convince people not to share their password with trusted others Can drained water from potted plants be used again to water another house plant? Embedded error: Failed to transfer file: http://server:port/dir/projectname//./changes-report.html. Return code is: 401 [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: http://vbase.xyz.com/artifactory/repo/itext/itext/2.0.4/itext-2.0.4.jar. Browse other questions tagged maven-3 artifactory or ask your own question.
CHEERS. [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://192.168.1.16:8081/artifactory/libs-snapshot-local as admin Downloading: http://192.168.1.16:8081/artifactory/libs-snapshot-local/sg/com/pinder/pinder/0.0.1-SNAPSHOT/maven-metadata.xml [DEBUG] Could not find metadata sg.com.pinder:pinder:0.0.1-SNAPSHOT/maven-metadata.xml in ServerA2 (http://192.168.1.16:8081/artifactory/libs-snapshot-local) [DEBUG] Writing resolution tracking file /home/Eric_Vader/.m2/repository/sg/com/pinder/pinder/0.0.1-SNAPSHOT/resolver-status.properties Uploading: http://192.168.1.16:8081/artifactory/libs-snapshot-local/sg/com/pinder/pinder/0.0.1-SNAPSHOT/pinder-0.0.1-20140101.065126-1.jar Least Common Multiple Looking for "turn to dust" alternative as a single word Can Infrared Thermometer (IR Gun) be used to measure the ambient room temperature? The problem that I mentioned before was caused by Artifactory didn't really accept the authentication sent by Maven client process.I dig up some more, and eventually found out that somehow we Technical term to denote opposite of dependency injection?
Make sure your settings.xml is in the correct place (normally it’s _~/.m2/settings.xml). Like this one? Thanks for the update. Blog Archive ► 2013 (1) ► July (1) ► 2012 (2) ► August (2) ► 2011 (2) ► February (2) ► 2010 (9) ► December (2) ► July (3) ► June