Maven Error Transferring File No Route To Host
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss error deploying artifact failed to transfer file return code is 400 the workings and policies of this site About Us Learn more about
Could Not Transfer Artifact From/to Central
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow failure to transfer org.apache.maven.plugins maven-resources-plugin Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each
Maven Could Not Transfer Metadata
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 for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file: https repo maven apache org maven2 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] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [
RE: mvn deploy -
Failed To Deploy Artifacts: Could Not Transfer Artifact
no route to host exception Date Mon, 22 unable to find valid certification path to requested target Dec 2008 21:55:38 GMT The output with -X -e is attached. Please note, the http://stackoverflow.com/questions/3145896/what-could-be-causing-error-transferring-file-in-maven problem was the parent of the module I was trying to deploy had a misconfigured repository inside it, not the actual module I was attempting to deploy. No https://mail-archives.apache.org/mod_mbox/maven-users/200812.mbox/%3CC0D46AE760D942458B26B850713F86F52BA0DB35@knight%3E route to host: connect [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error retrieving previous build number for artifact 'com.upromise.atgModule:olmAtgCommon:atg-module': repository metadata for: 's napshot com.upromise.atgModule:olmAtgCommon:2009-P2008006-SNAPSHOT' could not be retrieved from repository: bertha due to an error: Error transferring file at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.
to get resource 'org.carrot2:carrot2-mini:pom:3.1.0'from http://dspace-tech.narkive.com/Ro3Ex0uT/can-t-build-1-7-2 repository carrot2.org (http://download.carrot2.org/maven2/):Error transferring file: No route to hostDownloading: http://repo1.maven.org/maven2/org/carrot2/carrot2-mini/3.1.0/carrot2-mini-3.1.0.pom[INFO] Unable to find resource 'org.carrot2:carrot2-mini:pom:3.1.0' inrepository central (http://repo1.maven.org/maven2)Downloading: http://download.carrot2.org/maven2//org/carrot2/carrot2-mini/3.1.0/carrot2-mini-3.1.0.jar[WARNING] Unable to get resource 'org.carrot2:carrot2-mini:jar:3.1.0'from repository carrot2.org (http://download.carrot2.org/maven2/):Error transferring file: No could not route to hostDownloading: http://repo1.maven.org/maven2/org/carrot2/carrot2-mini/3.1.0/carrot2-mini-3.1.0.jar[INFO] Unable to find resource 'org.carrot2:carrot2-mini:jar:3.1.0' inrepository central (http://repo1.maven.org/maven2)[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Failed to resolve artifact.Missing:----------1) org.carrot2:carrot2-mini:jar:3.1.0--------------------------------------------------------------------------------------------------------------Clearly, this has to do with http://download.carrot2.org no could not transfer longerbeing available/online. Can anybody please send me the jar so I canadd it manually?Thanks,John John Cunliffe 2011-09-04 09:44:03 UTC PermalinkRaw Message the server is back up...Post by John CunliffeHi there,--------------------------------------------------------------------------------------------------------------[WARNING] Unable to get resource 'org.carrot2:carrot2-mini:pom:3.1.0'Error transferring file: No route to hostDownloading: http://repo1.maven.org/maven2/org/carrot2/carrot2-mini/3.1.0/carrot2-mini-3.1.0.pom[INFO] Unable to find resource 'org.carrot2:carrot2-mini:pom:3.1.0' inrepository central (http://repo1.maven.org/maven2)Downloading: http://download.carrot2.org/maven2//org/carrot2/carrot2-mini/3.1.0/carrot2-mini-3.1.0.jar[WARNING] Unable to get resource 'org.carrot2:carrot2-mini:jar:3.1.0'Error transferring file: No route to hostDownloading: http://repo1.maven.org/maven2/org/carrot2/carrot2-mini/3.1.0/carrot2-mini-3.1.0.jar[INFO] Unable to find resource 'org.carrot2:carrot2-mini:jar:3.1.0' inrepository central (http://repo1.maven.org/maven2)[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Fai