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=""
            <name>Third party</name>

            <name>gLite repository</name>




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

This topic: CREAM > WebHome > OtherDocumentation > InternalInfo > MavenBuildCREAM
Topic revision: r5 - 2013-10-28 - PaoloAndreetto
This site is powered by the TWiki collaboration platformCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback