+##########
+# Macros #
+##########
+
+- builder:
+ name: lf-maven-build
+ builders:
+ - inject:
+ properties-content: 'MAVEN_GOALS={mvn-goals}'
+ - shell: !include-raw-escape:
+ - ../shell/common-variables.sh
+ - ../shell/maven-build.sh
+
+- builder:
+ name: lf-maven-deploy
+ builders:
+ - shell: !include-raw:
+ - ../shell/common-variables.sh
+ - ../shell/maven-deploy.sh
+
+- builder:
+ name: lf-maven-stage
+ builders:
+ # include-raw-escape fails due to JJB bug
+ - shell: !include-raw:
+ - ../shell/common-variables.sh
+ - ../shell/maven-stage.sh
+
+- builder:
+ name: lf-update-java-alternatives
+ builders:
+ - inject:
+ properties-content: 'SET_JDK_VERSION={java-version}'
+ - shell: !include-raw-escape: ../shell/update-java-alternatives.sh
+ - inject:
+ properties-file: '/tmp/java.env'
+