Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351124 - was settings.xml introduced redirecting dependencies to maven.eclipse.org ?
Summary: was settings.xml introduced redirecting dependencies to maven.eclipse.org ?
Status: RESOLVED WONTFIX
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Carver CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 19:25 EDT by Matthias Sohn CLA
Modified: 2013-10-18 16:32 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2011-07-04 19:25:30 EDT
The following egit builds are failing on hudson since they can't download the 1.0.1.2-SNAPSHOT version of the signing plugin from http://intalio.org/public/maven2 anymore:
- egit build [1]
- egit-github build [2]

These builds instead try to download this plugin from http://maven.eclipse.org/nexus/content/groups/public/ which doesn't have this version (would be also nice to get this version copied there since this is the version which works).

I suspect that somebody introduced a settings.xml on hudson.eclipse.org which caused these failures.

Doug Schaefer suspects that his build failures might be caused by the same problem [3]

[1] https://hudson.eclipse.org/hudson/job/egit/1492/console
[2] https://hudson.eclipse.org/hudson/job/egit-github/168/console
[3] http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg06320.html
Comment 1 Steffen Pingel CLA 2011-07-04 19:29:34 EDT
This is likely also causing Virgo IDE Tooling builds to fail:

https://hudson.eclipse.org/hudson/job/virgo.ide.snapshot/78/console

[INFO] Adding repository http://dist.springframework.org/snapshot/IDE/nightly/
[WARNING] Failed to access p2 repository springide (http://dist.springframework.org/snapshot/IDE/nightly/), will try to use local cache. Reason: org.eclipse.equinox.p2.core.ProvisionException: Communication with repository at http://dist.springframework.org/snapshot/IDE/nightly/ failed.
Comment 2 Martin Taal CLA 2011-07-05 00:29:12 EDT
And I guess that this is related to issues I have myself with building 2 modeling projects (EMF Teneo and EMFT Texo). Remote download locations for dependencies are not working anymore.

I get:
    [java]     ERROR   [0002] : Rejecting provider p2(http://www.elver.org/eclipse/update[http://www.elver.org/eclipse/update]): No component match was found
     [java]       ERROR   No repository found at http://www.elver.org/eclipse/update/.

I filed that as issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350992

gr. Martin
Comment 3 Martin Taal CLA 2011-07-05 02:00:28 EDT
Hi,
FYI, I set the instance to run the build to fastlane and this worked for me to get the builds running.

gr. Martin
Comment 4 Gunnar Wagenknecht CLA 2011-07-05 02:01:02 EDT
Re comment 1 and comment 2:
AFAIK there is some proxy in place which prevents "remote" downloads from builds. Frankly, "remote dependency" are also problematic from a legal point of view. All dependencies need to be IP reviewed and placed on Eclipse.org infrastructure.

I think comment 0 is different, though. It's not a dependency required for EGit but a plug-in of the build technology.
Comment 5 Matthias Sohn CLA 2011-07-05 02:54:02 EDT
(In reply to comment #4)
> Re comment 1 and comment 2:
> AFAIK there is some proxy in place which prevents "remote" downloads from
> builds. Frankly, "remote dependency" are also problematic from a legal point of
> view. All dependencies need to be IP reviewed and placed on Eclipse.org
> infrastructure.
> 
> I think comment 0 is different, though. It's not a dependency required for EGit
> but a plug-in of the build technology.

exactly, I filed bug 351138 to get this version of the signing plugin deployed on maven.eclipse.org. The 1.0.1 version currently available there has some bugs which are fixed in the newer 1.0.1.2-SNAPSHOT version available from the intalio repository only.
Comment 6 Denis Roy CLA 2011-07-05 09:21:16 EDT
I had changed the maven settings.xml as part of bug 345792 .. it solved problems on the Mac slave, but apparently it is causing problems on the regular slaves.

I've reverted it.
Comment 7 David Carver CLA 2011-07-05 11:33:46 EDT
(In reply to comment #6)
> I had changed the maven settings.xml as part of bug 345792 .. it solved
> problems on the Mac slave, but apparently it is causing problems on the regular
> slaves.
> 
> I've reverted it.

What we need to do is add the Spring maven repositories to the Nexus repo.
Comment 8 David Carver CLA 2011-07-05 11:43:45 EDT
If there is anybody that is accessing other maven repositories besides the ones that are on central, please post them to this list, and I'll have maven.eclipse.org proxy these requests.  We want to start to make sure that we use maven.eclipse.org, and it may take a few tries to get the settings setup correctly.   Please also include the repository id that is being used to identify the repository, as this way we can make sure it redirects correctly.
Comment 9 Matthias Sohn CLA 2011-07-05 17:49:01 EDT
(In reply to comment #6)
> I had changed the maven settings.xml as part of bug 345792 .. it solved
> problems on the Mac slave, but apparently it is causing problems on the regular
> slaves.
> 
> I've reverted it.

Could you announce such changes which potentially affect many projects on the cross list ? This would simplify problem analysis.
Comment 10 David Carver CLA 2011-07-05 18:01:19 EDT
Yep, will do that going forward.  It's always the items that you don't think will cause issues, that end up causing issues.
Comment 11 Matthias Sohn CLA 2011-07-05 18:21:40 EDT
(In reply to comment #10)
> Yep, will do that going forward.  It's always the items that you don't think
> will cause issues, that end up causing issues.

I think global settings.xml should be visible to everybody, where is this versioned ? Probably it would be a good idea to review changes publicly on cross list before they get used so that all projects have a chance to raise concerns.
Comment 12 David Carver CLA 2011-07-05 18:37:09 EDT
(In reply to comment #11)
> (In reply to comment #10)
> > Yep, will do that going forward.  It's always the items that you don't think
> > will cause issues, that end up causing issues.
> 
> I think global settings.xml should be visible to everybody, where is this
> versioned ? Probably it would be a good idea to review changes publicly on
> cross list before they get used so that all projects have a chance to raise
> concerns.

It is version here:

http://git.eclipse.org/c/dash/org.eclipse.dash.maven.git/

There is a global settings.xml file there, that we can update to make it the recommended one to use as a template.

Any settings.xml would have to be installed by the web masters.  So they have final control on when it gets updated on the Hudson servers.
Comment 13 Denis Roy CLA 2013-10-18 16:32:26 EDT
maven.eclipse.org doesn't exist anymore, so I think this bug can go away.