Maven configuration. (default: global-settings)
:mvn-goals: The maven goals to perform for the build.
(default: clean install)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
:mvn-version: Version of maven to use. (default: mvn35)
:nexus-iq-namespace: Insert a namespace to project AppID for projects that
Produces and publishes javadocs for a Maven project.
-Expects javadocs to be available in $WORKSPACE/target/site/apidocs
+Expects javadocs to be available in $WORKSPACE/target/site/apidocs, unless
+the mvn-dir parameter is supplied, in which case expects javadocs to be
+available in $WORKSPACE/{mvn-dir}/target/site/apidocs.
:Template Names:
:build-timeout: Timeout in minutes before aborting build. (default: 60)
:git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
:java-version: Version of Java to use for the build. (default: openjdk8)
+ :mvn-dir: Directory supplied as argument to -f option (default: '.')
:mvn-global-settings: The name of the Maven global settings to use for
Maven configuration. (default: global-settings)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
+ Must not include a "-f" option; see parameter mvn-dir.
:mvn-version: Version of maven to use. (default: mvn35)
:stream: Keyword that can be used to represent a release code-name.
Often the same as the branch. (default: master)
Produces javadocs for a Maven project.
-Expects javadocs to be available in $WORKSPACE/target/site/apidocs
+Expects javadocs to be available in $WORKSPACE/target/site/apidocs, unless
+the mvn-dir parameter is supplied, in which case expects javadocs to be
+available in $WORKSPACE/{mvn-dir}/target/site/apidocs.
:Template Names:
:deploy-path: The path in Nexus to deploy javadoc to. (default: $PROJECT/$STREAM)
:git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
:java-version: Version of Java to use for the build. (default: openjdk8)
+ :mvn-dir: Directory supplied as argument to -f option (default: '.')
:mvn-global-settings: The name of the Maven global settings to use for
Maven configuration. (default: global-settings)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
+ Must not include a "-f" option; see parameter mvn-dir.
:mvn-version: Version of maven to use. (default: mvn35)
:stream: Keyword that can be used to represent a release code-name.
Often the same as the branch. (default: master)
:java-version: Version of Java to use for the build. (default: openjdk8)
:mvn-global-settings: The name of the Maven global settings to use for
Maven configuration. (default: global-settings)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
:mvn-version: Version of maven to use. (default: mvn35)
:nexus-cut-dirs: Number of directories to cut from file path for `wget -r`.
:maven-versions-plugin: Whether to call Maven versions plugin or not. (default: false)
:mvn-global-settings: The name of the Maven global settings to use for
Maven configuration. (default: global-settings)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
:mvn-version: Version of maven to use. (default: mvn35)
:ossrh-profile-id: Profile ID for project as provided by OSSRH.
Maven configuration. (default: global-settings)
:mvn-goals: The maven goals to perform for the build.
(default: clean install)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
:mvn-version: Version of maven to use. (default: mvn35)
:sonar-mvn-goals: Maven goals to run for sonar analysis.
:java-version: Version of Java to use for the build. (default: openjdk8)
:mvn-global-settings: The name of the Maven global settings to use for
Maven configuration. (default: global-settings)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
:mvn-version: Version of maven to use. (default: mvn35)
:stream: Keyword that can be used to represent a release code-name.
:java-version: Version of Java to use for the build. (default: openjdk8)
:mvn-global-settings: The name of the Maven global settings to use for
Maven configuration. (default: global-settings)
- :mvn-opts: Sets MAVEN_OPTS. (default: '')
+ :mvn-opts: Sets MAVEN_OPTS to start up the JVM running Maven. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
:mvn-version: Version of maven to use. (default: mvn35)
:stream: Keyword that can be used to represent a release code-name.
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
java-version: openjdk8
+ mvn-dir: "."
mvn-global-settings: global-settings
mvn-opts: ""
mvn-params: ""
- lf-infra-create-netrc:
server-id: "{mvn-site-id}"
- inject:
- properties-content: "DEPLOY_PATH={javadoc-path}"
+ properties-content: |
+ DEPLOY_PATH={javadoc-path}
+ MAVEN_DIR={mvn-dir}
- shell: !include-raw-escape:
- ../shell/common-variables.sh
- ../shell/maven-javadoc-generate.sh
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
java-version: openjdk8
+ mvn-dir: "."
mvn-global-settings: global-settings
mvn-opts: ""
mvn-params: ""
- lf-provide-maven-settings:
global-settings-file: "{mvn-global-settings}"
settings-file: "{mvn-settings}"
+ - inject:
+ properties-content: |
+ MAVEN_DIR={mvn-dir}
- shell: !include-raw-escape:
- ../shell/common-variables.sh
- ../shell/maven-javadoc-generate.sh