Difference between revisions of "MavenBuilder"

From Gcube Wiki
Jump to: navigation, search
(Created page with "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 n...")
 
(Environment)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
The environment variables that affects the behaviour of maven-builder are:
 
The environment variables that affects the behaviour of maven-builder are:
 
{| class="wikitable"
 
{| class="wikitable"
| PREPARE_GITHUB_RELEASE
+
!Name
| If set, the maven-builder will generate source packages (both for Ant and Maven components). The source packages are located in <code><component-folder>/target/<artifactId>-<version>-src.tar.gz</code>
+
!Description
 +
|-
 +
| GENERATE_SOURCE_PACKAGE
 +
| If set, the maven-builder will generate source packages (both for Ant and Maven components). The source packages are located in <code><component-folder>/target/<artifactId>-<version>-src.zip</code>
 
|-
 
|-
 
| APPEND_SCM_REVISION
 
| APPEND_SCM_REVISION
 
| If set, the maven-builder will add the SVN revision number to the component version (e.g. <code>1.2.3-3.10.1-12394</code> instead of  <code>1.2.3-3.10.1</code>)
 
| If set, the maven-builder will add the SVN revision number to the component version (e.g. <code>1.2.3-3.10.1-12394</code> instead of  <code>1.2.3-3.10.1</code>)
 +
|-
 +
| FORCE_JAVA_VERSION
 +
| If set, the <code>java_version</code> property will be added to mvn command line with the given value (see [[Developing_gCube_Maven_Components#Java_Version|here]] for more information).
 
|}
 
|}

Latest revision as of 12:47, 3 May 2017

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
GENERATE_SOURCE_PACKAGE 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.zip
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).