Maven Error Transferring File Connection Refused
Contents |
here for a quick overview of the site Help Center Detailed answers could not transfer artifact connection refused to any questions you might have Meta Discuss the workings
Telnet Repo.maven.apache.org 80
and policies of this site About Us Learn more about Stack Overflow the company Business Learn (https://repo.maven.apache.org/maven2): connection refused: connect more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow
Connection To Https //repo1.maven.org Refused Gradle
Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Maven build issue - Connection to repository refused up vote 7 down vote favorite 6 I wish to import, change, rebuild, test and push/check-in my connect to repo.maven.apache.org:443 failed connection timed out changes to the code available in this Github repository Currently, I do not wish to use any IDE or plug-ins for this purpose. I installed Maven on my Windows machine and as proceeded as per the installation instructions as shown below : C:\Documents and Settings\298790\My Documents\Downloads\seismichadoop-master>mvn -X package Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 19:21: 28+0530) Maven home: D:\Omkar\Development\Softwares\Tools\apache-maven-3.0.5 Java version: 1.6.0_20, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_20\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from D:\Omkar\Development\Softwares\Tools\apache -maven-3.0.5\conf\settings.xml [DEBUG] Reading user settings from C:\Documents and Settings\298790\.m2\settings .xml [DEBUG] Using local repository at C:\Documents and Settings\298790\.m2\repositor y [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Doc uments and Settings\298790\.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project com.cloudera.seismic:seismic:jar:0.1.0: (no ne) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.c
here for a quick overview of the site Help Center Detailed answers to any
Maven Connection Timed Out Proxy
questions you might have Meta Discuss the workings and policies
Maven Connection Timeout
of this site About Us Learn more about Stack Overflow the company Business Learn more maven test connection to repository about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack http://stackoverflow.com/questions/16729023/maven-build-issue-connection-to-repository-refused Overflow is a community of 6.2 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 http://stackoverflow.com/questions/3145896/what-could-be-causing-error-transferring-file-in-maven error [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 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.exoplatfo
and it throws following error: http://timepassguys.blogspot.com/2012/01/maven-build-error-error-transferring.html Error transferring file: Permission denied: connect It is not able to download even 1 file from maven repo. This is the complete stack trace when run with -X option: E:\LearningProjects>mvn -X archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -Dartifa ctId=my-app + Error stacktraces are turned on. Apache connection refused Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530) Java version: 1.6.0_27 Java home: C:\Program Files\Java\jdk1.6.0_27\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows" [DEBUG] Building Maven user-level plugin registry from: 'C:\Users\testuser\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\Users\testuser\apache-maven-2.2.1\bin\..\conf\plugin-registry.xml' connection timed out [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [INFO] org.apache.maven.plugins: checking for updates from central [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'central' with url: 'http://repo1.maven.org/maven2'. [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Err or transferring file: Permission denied: connect [DEBUG] Exception org.apache.maven.wagon.TransferFailedException: Error transferring file: Permission denied: connect at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:143) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonMana