Build CREAM with Maven
Maven user setup
The user setting file for maven, usually located at $HOME/.m2/settings.xml must contain the following definitions:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>default</id>
<activation><activeByDefault>true</activeByDefault></activation>
<repositories>
<repository>
<id>cream-repo</id>
<name>CREAM releases</name>
<url>http://****.pd.infn.it/maven</url>
</repository>
<!-- voms-api-java 2.0.x repo -->
<repository>
<id>cnaf-releases</id>
<name>CNAF releases</name>
<url>http://radiohead.cnaf.infn.it:8081/nexus/content/repositories/cnaf-releases/</url>
</repository>
<!-- argus-pep-common and argus-parent repo -->
<repository>
<id>switch</id>
<name>SWITCH releases</name>
<url>http://www.switch.ch/grid/authz/docs/maven2/release</url>
</repository>
</repositories>
<properties>
<igi.repo.url>scp://****.pd.infn.it/var/maven/repository</igi.repo.url>
</properties>
</profile>
</profiles>
<activeProfiles/>
<servers>
<server>
<id>igi.website</id>
<username>********</username>
<password>********</password>
<filePermissions>664</filePermissions>
<directoryPermissions>775</directoryPermissions>
<configuration></configuration>
</server>
</servers>
</settings>
The missing host, user and password depend on the configuration of the development workarea and are communicated by the site admin.
--
PaoloAndreetto - 2013-03-22