[Bug 492472] CBI Common Build infrastructure should work without external internet access
| Bugzilla Link | 492472 |
| Status | NEW |
| Importance | P3 normal |
| Reported | Apr 26, 2016 13:11 EDT |
| Modified | Apr 09, 2020 06:09 EDT |
Description
As we had to find out the hard way in bug 492412, the current CBI using Maven is very brittle.
In this case, it look like the problem is with the internet connection from eclipse.org to the outside world, but the problem could just as well be that repo.maven.apache.org or any other of the many undeclared implicit dependencies from Maven could stop being reachable.
In the past, the goal was to have a self-contained infrastructure that takes dependencies from Orbit, and that continues to work if external services become unavailable (either temporarily or permanently).
Gerrit is broken for the same reason, see e.g. https://hudson.eclipse.org/platform/job/eclipse.platform.team-Gerrit/156/consoleFull:
[ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0.0:read-project-properties (default) on project eclipse.platform.team: Execution default of goal org.codehaus.mojo:properties-maven-plugin:1.0.0:read-project-properties failed: Plugin org.codehaus.mojo:properties-maven-plugin:1.0.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:properties-maven-plugin:jar:1.0.0 -> org.apache.maven:maven-model:jar:2.2.1: Failed to read artifact descriptor for org.apache.maven:maven-model:jar:2.2.1: Could not transfer artifact org.apache.maven:maven-model:pom:2.2.1 from/to central (https://repo.maven.apache.org/maven2): Connection reset -> [Help 1]
(As usual, Maven's error message is very verbose, but in the end doesn't even tell which URL could not be loaded.)
In the Eclipse SDK builds, all external dependencies I see are from one of these:
https://oss.sonatype.org\
https://repo.maven.apache.org/maven2
CBI should either replace Maven with a dependable technology, or we need mirrors at eclipse.org that allow us to function despite service outages.