Re: maven.glassfish.org put offline

2012-03-02 Thread Thomas Broyer
D'oh! Sorry, I search for maven.glassfish.org on Google Groups but it 
didn't give 
me https://groups.google.com/d/topic/jenkinsci-dev/1aPlT07gRQ0/discussion 
(and I didn't recognize m.g.o-public as a synonym while quickly scanning 
the latest threads)

So, does it mean I could have added a mirror in my settings.xml?
Something like:
mirror
  idrepo.jenkins-ci.org/id
  mirrorOfm.g.o-public/mirrorOf
  urlhttp://repo.jenkins-ci.org/public/url
/mirror

On Friday, March 2, 2012 5:46:38 PM UTC+1, Thomas Broyer wrote:

 Hi there,

 I was going to start hacking on Jenkins (actually on the 
 gerrit-trigger-plugin) and Maven's “downlading the internet…” was taking 
 much longer than it should be. I then noticed it stopped for minutes trying 
 to resolve artifacts from maven.glassfish.org.
 It turns out the server has been put offline in the last couple of days: 
 http://java.net/projects/glassfish/lists/dev/archive/2012-02/message/118

 As a workaround, I ended up hacking the downloaded POMs to remove the 
 references to the repository: sed -i 's|
 http://maven.glassfish.org/content/groups/public/|http://repo1.maven.org/maven2/|'
  
 $(grep -R maven.glassfish.org ~/.m2/ --include '*.pom' -l)
 It all went smooth after that, proof that references to that maven repo 
 were not actually needed ⇒ bad practice (or were they really needed at some 
 earlier point in time?)

 Well, that just a FYI (with a little bit of rant); now back to hacking!

 (and by the way, thank you so much for making Jenkins!)



RE: maven.glassfish.org put offline

2012-03-02 Thread Nord, James
Adding the mirror was all I needed to do last night to hack away.

/James

From: jenkinsci-dev@googlegroups.com [mailto:jenkinsci-dev@googlegroups.com] On 
Behalf Of Thomas Broyer
Sent: 02 March 2012 16:52
To: jenkinsci-dev@googlegroups.com
Subject: Re: maven.glassfish.org put offline

D'oh! Sorry, I search for maven.glassfish.org on Google Groups but it didn't 
give me https://groups.google.com/d/topic/jenkinsci-dev/1aPlT07gRQ0/discussion 
(and I didn't recognize m.g.o-public as a synonym while quickly scanning the 
latest threads)

So, does it mean I could have added a mirror in my settings.xml?
Something like:
mirror
  idrepo.jenkins-ci.org/id
  mirrorOfm.g.o-public/mirrorOf
  
urlhttp://repo.jenkins-ci.org/public/urlhttp://repo.jenkins-ci.org/public%3c/url
/mirror

On Friday, March 2, 2012 5:46:38 PM UTC+1, Thomas Broyer wrote:
Hi there,

I was going to start hacking on Jenkins (actually on the gerrit-trigger-plugin) 
and Maven's “downlading the internet…” was taking much longer than it should 
be. I then noticed it stopped for minutes trying to resolve artifacts from 
maven.glassfish.orghttp://maven.glassfish.org.
It turns out the server has been put offline in the last couple of days: 
http://java.net/projects/glassfish/lists/dev/archive/2012-02/message/118

As a workaround, I ended up hacking the downloaded POMs to remove the 
references to the repository: sed -i 
's|http://maven.glassfish.org/content/groups/public/|http://repo1.maven.org/maven2/|http://maven.glassfish.org/content/groups/public/%7Chttp:/repo1.maven.org/maven2/%7C'
 $(grep -R maven.glassfish.orghttp://maven.glassfish.org ~/.m2/ --include 
'*.pom' -l)
It all went smooth after that, proof that references to that maven repo were 
not actually needed ⇒ bad practice (or were they really needed at some earlier 
point in time?)

Well, that just a FYI (with a little bit of rant); now back to hacking!

(and by the way, thank you so much for making Jenkins!)



**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**