[Building Sakai] When (if) plugin repositories go down..
Balazuc Denis
Denis.Balazuc at crim.ca
Thu Sep 10 08:47:25 PDT 2009
Hi Branden and everyone
This can happen when remote repositories are down for maintenance or other connectivity reasons.
To avoid this and make sure you can do a full build cycle for your project regardless, a common solution is to setup a Maven proxy.
http://maven.apache.org/guides/mini/guide-proxies.html
This usually requires that you install a server within your organisation to act as the proxy. There are some good products out there that do that well, such as Nexus (http://nexus.sonatype.org/).
On top of not depending on external repositories' availability, the added benefit to having a Maven proxy is that it makes downloading components much faster, as well as providing the ability to maintain and share your own maven artifacts within your organisation.
Hope this helps.
Denis Balazuc
_____
From: Branden Visser [mailto:branden at uwindsor.ca]
To: Sakai [mailto:sakai-dev at collab.sakaiproject.org]
Sent: Thu, 10 Sep 2009 11:14:22 -0400
Subject: [Building Sakai] When (if) plugin repositories go down..
Hi everyone,
Yesterday morning I was trying to deploy some patches to our servers,
and the deploy ended up hanging on this line:
[INFO] artifact org.apache.maven.plugins:maven-one-plugin: checking for
updates from codehaus snapshot repository
I let it hang for about 3 minutes before I killed the process.
My first instinct (a shot in the dark) was to disable snapshots for that
plugin repo, not sure if it should have solved the problem. After I did
this, the Maven build worked but it still output that line. So I'm
thinking the codehaus could have just come back up by coincidence?
To avoid any future problems, does anyone know what could have happened
here, and how to run completely local if I get stuck in a jam with bad
repos?
Thanks,
Branden
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090910/11f217fe/attachment.html
More information about the sakai-dev
mailing list