diff options
author | 2020-08-01 23:21:31 +0800 | |
---|---|---|
committer | 2020-08-01 23:26:41 +0800 | |
commit | 84b4ee711e35b9b53a443cd92d31a108e2aaa569 (patch) | |
tree | 040205a77ba28cf761f6e04d4374dc5e6019089a | |
parent | update usage.txt, fix Copyright statement of Gentoo (diff) | |
download | java-ebuilder-84b4ee711e35b9b53a443cd92d31a108e2aaa569.tar.gz java-ebuilder-84b4ee711e35b9b53a443cd92d31a108e2aaa569.tar.bz2 java-ebuilder-84b4ee711e35b9b53a443cd92d31a108e2aaa569.zip |
update the recorded skeleton cmd
Signed-off-by: zongyu <zzy2529420793@gmail.com>
-rw-r--r-- | src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java index 8fceec6..810358c 100644 --- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java +++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java @@ -364,11 +364,20 @@ public class MavenEbuilder { }); } + if (config.isFromMavenCentral()) { + writer.print(" --from-maven-central"); + } + if (config.getDownloadUri() != null) { writer.print(" --download-uri "); writer.print(config.getDownloadUri()); } + if (config.hasBinjarUri()) { + writer.print(" --binjar-uri "); + writer.print(config.getBinjarUri()); + } + if (config.getLicense() != null) { writer.print(" --license "); writer.print(config.getLicense()); |