MavenBuilder

From Gcube Wiki
Revision as of 10:41, 21 April 2017 by Gabriele.giammatteo (Talk | contribs) (Environment)

Jump to: navigation, search

The MavenBuilder (maven-builder) is a component that collects a set of scripts used by ETICS during integration builds to properly handle Maven builds and to execute actions needed for the preparation of releases (e.g. creation of source and binary packages, resolution of dependencies version ranges).


Environment

The environment variables that affects the behaviour of maven-builder are:

Name Description
PREPARE_GITHUB_RELEASE If set, the maven-builder will generate source packages (both for Ant and Maven components). The source packages are located in <component-folder>/target/<artifactId>-<version>-src.tar.gz
APPEND_SCM_REVISION If set, the maven-builder will add the SVN revision number to the component version (e.g. 1.2.3-3.10.1-12394 instead of 1.2.3-3.10.1)
FORCE_JAVA_VERSION If set, the java_version property will be added to mvn command line with the given value (see here for more information).