« Previous -
Version 2/4
(diff) -
Next » -
Current version
Jean-Charles VIDAL, 03/01/2012 12:10 pm
Using the Nexus repository¶
Introduction¶
The Improve Foundation Nexus Repository is a Maven Repository you can use as the only source of artifacts. The Nexus repository contains all Improve Foundations artifacts and works as a proxy for third party artifacts (i.e: those of the Maven Central, for example). So, you have to declare the Nexus Repository in the <repositories> section of your pom.xml.
Getting artifacts¶
Open Edition users¶
In your pom.xml, replace your <repositories> section with this one :
1 <repositories>
2 <repository>
3 <snapshots>
4 <enabled>false</enabled>
5 </snapshots>
6 <id>if-all</id>
7 <url>http://owt-vm-forge.accelance.net:8080/nexus/content/groups/public</url>
8 </repository>
9 </repositories>
Do the same stuff with the <pluginRepositories> section.
Corporate Edition users¶
Replace your <repositories> section with this one :
1 <repositories>
2 <repository>
3 <snapshots>
4 <enabled>false</enabled>
5 </snapshots>
6 <id>if-all</id>
7 <url>http://owt-vm-forge.accelance.net:8080/nexus/content/groups/if-all</url>
8 </repository>
9 </repositories>
Some of the repositories of the if-all group are obviously private and need a login and a password to be accessed. So you have to declare these logins and passwords in the Maven settings.xml file. In the <servers> section, just write down: