Difference: MavenBuildCREAM (4 vs. 5)

Revision 52013-10-28 - PaoloAndreetto

Line: 1 to 1
 
META TOPICPARENT name="InternalInfo"

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>igi-profile</id>
      <activation><activeByDefault>true</activeByDefault></activation>
        <repositories>
          
          <repository>
Changed:
<
<
cream-repo CREAM releases http://ci-01.cnaf.infn.it:8081/nexus/content/repositories/releases/
>
>
nexus-3p Third party http://ci-01.cnaf.infn.it:8081/nexus/content/groups/public
 
Deleted:
<
<
<-- voms-api-java 2.0.x repo -->
 
Changed:
<
<
cnaf-releases CNAF releases http://radiohead.cnaf.infn.it:8081/nexus/content/repositories/cnaf-releases/

<-- argus-pep-common and argus-parent repo -->
switch SWITCH releases http://www.switch.ch/grid/authz/docs/maven2/release
>
>
nexus-main gLite repository http://ci-01.cnaf.infn.it:8081/nexus/content/repositories/releases
 

<cream.wsdl.url>http://italiangrid.github.io/cream-interface/WS/CREAM</cream.wsdl.url> <es.wsdl.url>http://italiangrid.github.io/cream-interface/WS/ES</es.wsdl.url>

********

The supported active profiles are:

  • SL5_x86_64
  • SL6_x86_64

The external dependencies are selected according to chosen profile.

RPM from maven

Binary and source RPMs can be created specifying the property rpm.repackaging in the command line:

mvn -Drpm.repackaging=true install

The artifacts are stored in the directory target/rpmbuild.

-- PaoloAndreetto - 2013-03-22 \ No newline at end of file

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback