fabric8io / ipaas-quickstarts

quickstarts for the fabric8 project
Apache License 2.0
66 stars 86 forks source link

Remove spring repo as its very slow #1301

Closed davsclaus closed 8 years ago

davsclaus commented 8 years ago

This repo as added in new swarm example from @cmoulliard https://github.com/fabric8io/ipaas-quickstarts/blob/master/quickstart/swarm/camel-rest/pom.xml#L262

But it makes the download of JARs very slow as it loads from this 1st instead of maven central. We should avoid any 3rd party repos.

And wtf does a spring repo have some JEE jars that are not in central or in some jboss swarm repo?

davsclaus commented 8 years ago

Also it seems the example uses a JAR that is no repos

org.glassfish:javax.el-impl:jar:3.0.1-b08-jbossorg-1

davsclaus commented 8 years ago

[ERROR] Failed to execute goal on project swarm-camel-rest: Could not resolve dependencies for project io.fabric8.quickstarts:swarm-camel-rest:jar:2.3-SNAPSHOT: The following artifacts could not be resolved: org.glassfish:javax.el-impl:jar:3.0.1-b08-jbossorg-1, org.slf4j:jcl-over-slf4j:jar:1.7.7.jbossorg-1: Failure to find org.glassfish:javax.el-impl:jar:3.0.1-b08-jbossorg-1 in http://repo.springsource.org/libs-release-remote was cached in the local repository, resolution will not be reattempted until the update interval of springsource-libs-releases has elapsed or updates are forced -> [Help 1]

davsclaus commented 8 years ago

Okay adding central repo first allows to download the JARs a bit quicker, but its the wildfly-swarm-plugin that is slow at downloading.

davsclaus commented 8 years ago

https://github.com/fabric8io/ipaas-quickstarts/pull/1303