We are successfully using the cargo-maven2-plugin
with both Jetty and Tomcat containers. Unfortunately our external internet connection is unstable, so we have failing builds because cargo cannot access the external url to obtain the container zip:
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.11:start (start-container) on project scc-service-impl: Execution start-container of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.11:start failed: Failed to download
[http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.2.5.v20141112/jetty-distribution-9.2.5.v20141112.tar.gz]:
java.net.UnknownHostException: repo1.maven.org: Unknown host repo1.maven.org -> [Help 1]
Is it possible to host the Tomcat or Jetty libraries on our local Nexus server to allow our full build to run without relying on the external network?