# 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:
git-url: '$GIT_URL/$PROJECT'
java-version: openjdk8
mvn-global-settings: global-settings
+ mvn-goals: clean deploy
mvn-opts: ''
mvn-params: '-Dmerge'
mvn-version: mvn33
NEXUS_REPO={nexus-snapshot-repo}
- shell: !include-raw-escape:
- ../shell/lftools-install.sh
- - ../shell/common-variables.sh
- ../shell/maven-fetch-metadata.sh
- - ../shell/maven-build.sh
+ - lf-maven-build:
+ mvn-goals: '{mvn-goals}'
- lf-maven-deploy
- lf-provide-maven-settings-cleanup
git-url: '$GIT_URL/$PROJECT'
java-version: openjdk8
mvn-global-settings: global-settings
+ mvn-goals: clean deploy
mvn-opts: ''
mvn-params: ''
mvn-version: mvn33
server-id: '{mvn-staging-id}'
- shell: !include-raw-escape:
- ../shell/lftools-install.sh
- - ../shell/common-variables.sh
- ../shell/maven-patch-release.sh
- - ../shell/maven-build.sh
+ - lf-maven-build:
+ mvn-goals: '{mvn-goals}'
- lf-maven-stage
- lf-provide-maven-settings-cleanup
git-url: '$GIT_URL/$PROJECT'
java-version: openjdk8
mvn-global-settings: global-settings
+ mvn-goals: clean deploy
mvn-opts: ''
mvn-params: '-Dstream=$STREAM'
mvn-version: mvn33
settings-file: '{mvn-settings}'
- shell: !include-raw-escape:
- ../shell/lftools-install.sh
- - ../shell/common-variables.sh
- - ../shell/maven-build.sh
+ - lf-maven-build:
+ mvn-goals: '{mvn-goals}'
- lf-provide-maven-settings-cleanup
publishers:
git-url: '$GIT_URL/$PROJECT'
java-version: openjdk8
mvn-global-settings: global-settings
+ mvn-goals: clean deploy
mvn-opts: ''
mvn-params: '-Dstream=$STREAM'
mvn-version: mvn33
- shell: !include-raw-escape:
- ../shell/common-variables.sh
- ../shell/maven-build-deps.sh
- - shell: !include-raw-escape:
- - ../shell/common-variables.sh
- - ../shell/maven-build.sh
+ - lf-maven-build:
+ mvn-goals: '{mvn-goals}'
- lf-provide-maven-settings-cleanup
publishers: