Error Transferring File Connection Refused
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions
Could Not Transfer Artifact Connection Refused
you might have Meta Discuss the workings and policies of connection to https //repo1.maven.org refused gradle this site About Us Learn more about Stack Overflow the company Business Learn more about hiring
(https://repo.maven.apache.org/maven2): Connection Refused: Connect
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a maven connection timed out proxy community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up What could be causing 'error transferring file' in maven? up vote 10 down vote favorite 3 I have installed maven 2.2.1 on my debian machine and getting the following error [WARNING] repository metadata maven proxy settings.xml example for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file: repository.exoplatform.org What I have been able to find relating to this problem is its typically caused by not having proxy settings correctly configured or a firewall blocking traffic, but I dont have either on this machine. Also, I have the same settings file on my windows machine and it works fine. Any suggestions would be greatly appreciated as I am stumped. exo@melb-web:~/test$ mvn -v Apache Maven 2.2.1 (r801777; 2009-08-07 05:16:01+1000) Java version: 1.5.0_22 Java home: /usr/local/bin/jdk1.5.0_22/jre Default locale: en_AU, platform encoding: UTF-8 OS name: "linux" version: "2.6.22-3-amd64" arch: "i386" Family: "unix" exo@melb-web:~/test$ mvn archetype:generate [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file: repository.exoplatform.org [INFO] Repository 'central' will be blacklisted [INFO] ------------------------------------------------------
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads http://stackoverflow.com/questions/3145896/what-could-be-causing-error-transferring-file-in-maven with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign http://stackoverflow.com/questions/22193792/error-transferring-file-connection-timed-out-connect-in-maven up Error transferring file: Connection timed out: connect in maven. up vote 0 down vote favorite I have uploaded "reporty-ng" jars to resolve the plugin dependencies on my bit bucket account, but i get this Error when i run mvn clean . There is no setting has been done in "seetings.xml" C:\Users\Devraj\workspace\TestProject>mvn clean [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - TestProject:TestProject:jar:0.0.1-SNAPSHOT [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ Downloading: https://bitbucket.org/Devraj/reporty-ng/reporty-ng/1.2/reporty-ng- 1.2.pom [WARNING] Unable to get resource 'reporty-ng:reporty-ng:pom:1.2' from repository reporty-ng (https://bitbucket.org/Devraj): Error transferring file: Co nnection timed out: connect Downloading: http://repo1.maven.org/maven2/reporty-ng/reporty-ng/1.2/reporty-ng-1.2.pom [INFO] Unable to find resource 'reporty-ng:reporty-ng:pom:1.2' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/reporty-ng/reporty-ng/1.2/reporty-ng-1.2.pom [INFO] Unable to find resource 'reporty-ng:reporty-ng:pom:1.2' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error buildin
on http://repo1.maven.org/maven210-1Build MonkeyJun 06, 2012I am trying to create a https://answers.atlassian.com/questions/60316/getting-access-denied-on-httprepo1.maven.orgmaven2 new plugin using atlas-create-jira-plugin and am getting an http://maven.40175.n5.nabble.com/Error-transferring-file-repo1-maven-org-Repository-central-will-be-blacklisted-td119337.html error: Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-jira-plugin/3.10.4/maven-jira-plugin-3.10.4.jar[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.10.4' from repository atlassian-public (https://m2proxy.atlassian.com/repository/public): Error transferring file: Connection refusedDownloading: http://repo1.maven.org/maven2/com/atlassian/maven/plugins/maven-jira-plugin/3.10.4/maven-jira-plugin-3.10.4.jar[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.10.4' from repository central (http://repo1.maven.org/maven2): Error transferring file: Connection refused CAn connection refused someone help with this? ThanksdownloadCommentBuild MonkeyJun 12, 2012I am behind a firewall and can retreive the jar files from http. I got past the first part by getting the maven-jira-plugin-3.10.4.jar using http, but the mvn command I am running (with the option error transferring file -Dfile=~/Downloads/maven-jira-plugin-3.10.4.jar) is now complaining about a pom file. I was wondering if I could grab that file and continue on. I am doing all of this so I can get the Fastdev servlet for gadget development. If I can get that somehow and install it manually, I would be set. Thanks for all your help on this.CommentAdd your comment...2 answers10-1tousif shaikhJun 12, 2012Hi, i geuss you have java 1.7 plz go back to jdk1.6.0_17 or any jdk 1.6 seris. i think the problem is related with jdk only.make sure your changing all enviourment variables as jdk 1.6 restart cmd prompt.you will be able to run commands properly without any disterbance.CommentBuild MonkeyJun 13, 2012no, I have the 1.6 version $ java -versionjava version "1.
♦ Locked 7 messages Andrea Libero Valori Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Error transferring file: repo1.maven.org, Repository 'central' will be blacklisted Hi, I'm doing apache servicemix tutorials (tutorial 3: Camel) using maven, when I run "mvn archetype:create" I get a message saying that an error occurred transferring data from repo1.maven.org I have a working internet connection (through which I'm writing this email), and I'm able to open without any problem the site "repo1.maven.org" from Firefox (through which I'm writing this email, too). Seems that maven is not able to use the net, but I don't see why: in past runs it was able to connect. Is that a settings problem? Thanks in advance, Andrea andrea@martin:~/Programmi/apache-servicemix-3.3/tutorials/3_camel$ mvn --version Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100) Java version: 1.6.0_13 Java home: /home/andrea/Programmi/jdk1.6.0_13/jre Default locale: it_IT, platform encoding: UTF-8 OS name: "linux" version: "2.6.28-11-generic" arch: "i386" Family: "unix" andrea@martin:~/Programmi/apache-servicemix-3.3/tutorials/3_camel$ mvn archetype:create -e -U -DarchetypeArtifactId=servicemix-camel-service-unit -DarchetypeGroupId=org.apache.servicemix.tooling -DartifactId=tutorial-camel-su + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file: repo1.maven.org [INFO] Repository 'central' will be blacklisted [INFO] -----------------------------------------------------------------------