Skip to content

Commit 4162075

Browse files
committed
[OPENJDK-1961] Document MAVEN_REPO_URL and MAVEN_REPO_ID
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 3718748 commit 4162075

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/maven/default/module.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ envs:
5050
- name: MAVEN_LOCAL_REPO
5151
description: Directory to use as the local Maven repository.
5252
example: /home/default/.m2/repository
53+
- name: "MAVEN_REPO_URL"
54+
example: "http://repo.example.com:8080/maven2/"
55+
description: >
56+
Specify a Maven repository by URL.
57+
See MAVEN_REPOS for specifying multiple repositories.
58+
- name: "MAVEN_REPO_ID"
59+
example: "myrepo"
60+
description: >
61+
Provide a static ID for the Maven repository specified by
62+
MAVEN_REPO_URL. The default is to generate a random ID.
63+
See MAVEN_REPOS for specifying multiple repositories.
5364
- name: "MAVEN_REPOS"
5465
example: "dev-one,qe-two"
5566
description: "If set, multi-repo support is enabled, and other MAVEN_REPO_* variables will be prefixed. For example: DEV_ONE_MAVEN_REPO_URL and QE_TWO_MAVEN_REPO_URL"

0 commit comments

Comments
 (0)