myGrid provides mirrors of official Maven repositories, in addition to our own repositories.
http://www.mygrid.org.uk/maven/repo1/ is a mirror of the official Maven Central repository repo1, synced every night. We've found it beneficial to use our own mirror as the official mirrors can be unreliable or at times slow.
We've also mirrored the BioMoby repository at http://www.mygrid.org.uk/maven/biomoby/biomoby.org/m2repo/, as the connections to their server in Canada can be flaky at times.
To use these for your own Maven installation, edit
$HOME/.m2/settings.xml and make sure it has this
<settings> <mirrors> <mirror> <id>mygrid-repo1</id> <url>http://www.mygrid.org.uk/maven/repo1</url> <mirrorOf>central</mirrorOf> </mirror> <mirror> <id>mygrid-biomoby</id> <url>http://www.mygrid.org.uk/maven/biomoby/biomoby.org/m2repo</url> <mirrorOf>biomoby</mirrorOf> </mirror> <mirror> <id>mygrid-biomoby</id> <url>http://www.mygrid.org.uk/maven/biomoby/biomoby.org/m2repo</url> <mirrorOf>bio.maven.repository</mirrorOf> </mirror> </mirrors> </settings>
http://www.mygrid.org.uk/maven/restlet/maven.restlet.org/ is a mirror of the Maven repository for Restlet. You generally don't need to use this mirror unless you are developing against the Taverna Remote Exceution Service, which uses Restlet.
As the upstream repository is only updated twice a month, this mirroring is only done weekly. To use it, try:
<settings> <mirrors> <mirror> <id>mygrid-restlet</id> <url>http://www.mygrid.org.uk/maven/restlet/maven.restlet.org</url> <mirrorOf>maven-restlet</mirrorOf> </mirror> </mirrors> </settings>
.. assuming that the POMs using the original repository uses:
<repository> <id>maven-restlet</id> <name>Public online Restlet repository</name> <url>http://maven.restlet.org</url> </repository>
http://www.mygrid.org.uk/maven/repository/ is the official myGrid repository for released Taverna artifacts (stable versions). Every modules of every release from Taverna 1.5 and up are deployed in this repository. There are also a few non-myGrid artifacts deployed here for supporting 3rd party libraries that were not properly deployed in the official mirrors, for instance axis-saaj-1.4.pom.
To use Taverna artifacts from your projects, you need to add the a
repository section to your POM:
<repositories> <repository> <releases /> <snapshots> <enabled>false</enabled> </snapshots> <id>mygrid-repository</id> <name>myGrid Repository</name> <url>http://www.mygrid.org.uk/maven/repository</url> </repository> </repositories>
There are also two mirrors of the myGrid maven repository, but unfortunately the updates are not currently working:
http://www.mygrid.org.uk/maven/snapshot-repository/ contains snapshot versions of the source code. After Taverna 2.0, such snapshots are deployed nightly by Hudson.
All Taverna artifacts have this repository listed already through their parent, but for separate projects you would need to include a
repository section for it like this:
<repositories> <repository> <releases> <enabled>false</enabled> </releases> <snapshots /> <id>mygrid-snapshot-repository</id> <name>myGrid Snapshot Repository</name> <url>http://www.mygrid.org.uk/maven/snapshot-repository</url> </repository> </repositories>