Skip to content

Commit ebac872

Browse files
authored
Merge pull request #36 from LinuxSuRen/mvn-setting
Add instructions about how to set maven
2 parents 438f93e + 70277de commit ebac872

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

java/templates/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ The following environment variables can be used to influence the behaviour of th
1414
* **ARTIFACT_COPY_ARGS** Arguments to use when copying artifacts from the output dir to the application dir. Useful to specify which artifacts will be part of the image. It defaults to `-r hawt-app/*` when a `hawt-app` dir is found on the build directory, otherwise jar files only will be included (`*.jar`).
1515
* **MAVEN_CLEAR_REPO** If set then the Maven repository is removed after the artifact is built. This is useful for keeping
1616
the created application image small, but prevents *incremental* builds. The default is `false`
17+
* **MAVEN_MIRROR_URL** If set then add a mirror with `<mirrorOf>external:*</mirrorOf>`. This should be a ULR of target Nexus mirror.
18+
19+
### Custom maven settings
20+
21+
If you want to use a custom maven settings.xml file. Please put it in your code repository. This template will take `configuration/settings.xml` as the custom config file.
1722

1823
## Run Time
1924

0 commit comments

Comments
 (0)