Skip to content

Instantly share code, notes, and snippets.

@kwk
Created September 3, 2012 14:42
Show Gist options
  • Select an option

  • Save kwk/3609801 to your computer and use it in GitHub Desktop.

Select an option

Save kwk/3609801 to your computer and use it in GitHub Desktop.
mvn package failed on gerrit-2.4
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Gerrit Code Review - Parent
[INFO] Gerrit Code Review - Utility - SSL
[INFO] Gerrit Code Review - Patch commons-net
[INFO] Gerrit Code Review - Patch JGit
[INFO] Gerrit Code Review - Utility - CLI
[INFO] Gerrit Code Review - ANTLR
[INFO] Gerrit Code Review - ReviewDB
[INFO] Gerrit Code Review - Prettify
[INFO] Gerrit Code Review - Common
[INFO] Gerrit Code Review - Server
[INFO] Gerrit Code Review - Ehcache Bindings
[INFO] Gerrit Code Review - Launcher
[INFO] Gerrit Code Review - HTTPd
[INFO] Gerrit Code Review - Main
[INFO] Gerrit Code Review - OpenID servlet and RPC
[INFO] Gerrit Code Review - SSHd
[INFO] Gerrit Code Review - Pgm
[INFO] Gerrit Code Review - GWT UI
[INFO] Gerrit Code Review - WAR
[INFO] Gerrit Code Review - GWT UI Debugging Support
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Gerrit Code Review - Parent 2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Gerrit Code Review - Utility - SSL 2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ gerrit-util-ssl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kleine/dev/gerrit/gerrit-util-ssl/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gerrit-util-ssl ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ gerrit-util-ssl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kleine/dev/gerrit/gerrit-util-ssl/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ gerrit-util-ssl ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ gerrit-util-ssl ---
[INFO] No tests to run.
[INFO] Surefire report directory: /home/kleine/dev/gerrit/gerrit-util-ssl/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ gerrit-util-ssl ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Gerrit Code Review - Patch commons-net 2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ gerrit-patch-commonsnet ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kleine/dev/gerrit/gerrit-patch-commonsnet/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gerrit-patch-commonsnet ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ gerrit-patch-commonsnet ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kleine/dev/gerrit/gerrit-patch-commonsnet/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ gerrit-patch-commonsnet ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ gerrit-patch-commonsnet ---
[INFO] No tests to run.
[INFO] Surefire report directory: /home/kleine/dev/gerrit/gerrit-patch-commonsnet/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ gerrit-patch-commonsnet ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Gerrit Code Review - Patch JGit 2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://gerrit-maven-repository.googlecode.com/svn/org/eclipse/jgit/org.eclipse.jgit/1.3.0.201202151440-r.75-gff13648/org.eclipse.jgit-1.3.0.201202151440-r.75-gff13648.pom
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Downloading: https://google-gson.googlecode.com/svn/mavenrepo/org/eclipse/jgit/org.eclipse.jgit/1.3.0.201202151440-r.75-gff13648/org.eclipse.jgit-1.3.0.201202151440-r.75-gff13648.pom
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Downloading: https://gerrit-maven-repository.googlecode.com/svn/gwtjsonrpc/gwtjsonrpc/1.3/gwtjsonrpc-1.3.pom
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Downloading: https://google-gson.googlecode.com/svn/mavenrepo/gwtjsonrpc/gwtjsonrpc/1.3/gwtjsonrpc-1.3.pom
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Sep 03, 2012 4:41:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Gerrit Code Review - Parent ....................... SUCCESS [0.076s]
[INFO] Gerrit Code Review - Utility - SSL ................ SUCCESS [1.253s]
[INFO] Gerrit Code Review - Patch commons-net ............ SUCCESS [0.239s]
[INFO] Gerrit Code Review - Patch JGit ................... FAILURE [0.524s]
[INFO] Gerrit Code Review - Utility - CLI ................ SKIPPED
[INFO] Gerrit Code Review - ANTLR ........................ SKIPPED
[INFO] Gerrit Code Review - ReviewDB ..................... SKIPPED
[INFO] Gerrit Code Review - Prettify ..................... SKIPPED
[INFO] Gerrit Code Review - Common ....................... SKIPPED
[INFO] Gerrit Code Review - Server ....................... SKIPPED
[INFO] Gerrit Code Review - Ehcache Bindings ............. SKIPPED
[INFO] Gerrit Code Review - Launcher ..................... SKIPPED
[INFO] Gerrit Code Review - HTTPd ........................ SKIPPED
[INFO] Gerrit Code Review - Main ......................... SKIPPED
[INFO] Gerrit Code Review - OpenID servlet and RPC ....... SKIPPED
[INFO] Gerrit Code Review - SSHd ......................... SKIPPED
[INFO] Gerrit Code Review - Pgm .......................... SKIPPED
[INFO] Gerrit Code Review - GWT UI ....................... SKIPPED
[INFO] Gerrit Code Review - WAR .......................... SKIPPED
[INFO] Gerrit Code Review - GWT UI Debugging Support ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.799s
[INFO] Finished at: Mon Sep 03 16:41:20 CEST 2012
[INFO] Final Memory: 16M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gerrit-patch-jgit: Could not resolve dependencies for project com.google.gerrit:gerrit-patch-jgit:jar:2.4-SNAPSHOT: Failed to collect dependencies for [org.eclipse.jgit:org.eclipse.jgit:jar:1.3.0.201202151440-r.75-gff13648 (compile), gwtjsonrpc:gwtjsonrpc:jar:1.3 (compile), com.google.gwt:gwt-user:jar:2.3.0 (provided), junit:junit:jar:4.8.1 (test), org.easymock:easymock:jar:3.0 (test)]: Failed to read artifact descriptor for org.eclipse.jgit:org.eclipse.jgit:jar:1.3.0.201202151440-r.75-gff13648: Could not transfer artifact org.eclipse.jgit:org.eclipse.jgit:pom:1.3.0.201202151440-r.75-gff13648 from/to gerrit-maven-repository (https://gerrit-maven-repository.googlecode.com/svn/): Connection refused -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :gerrit-patch-jgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment