diff options
author | zongyu <zzy2529420793@gmail.com> | 2020-08-01 17:16:04 +0800 |
---|---|---|
committer | zongyu <zzy2529420793@gmail.com> | 2020-08-01 23:25:32 +0800 |
commit | 1a0861fce9d1eed817114871b073edf1f527e21d (patch) | |
tree | 3ea28c2639ff12942a9a76210d77d0687d74de41 | |
parent | Use Set instead of List for storing Licenses, update license map (diff) | |
download | java-ebuilder-1a0861fce9d1eed817114871b073edf1f527e21d.tar.gz java-ebuilder-1a0861fce9d1eed817114871b073edf1f527e21d.tar.bz2 java-ebuilder-1a0861fce9d1eed817114871b073edf1f527e21d.zip |
update usage.txt, fix Copyright statement of Gentoo
Signed-off-by: zongyu <zzy2529420793@gmail.com>
-rw-r--r-- | src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java | 2 | ||||
-rw-r--r-- | src/main/resources/usage.txt | 5 |
2 files changed, 5 insertions, 2 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 3b5c3d6..8fceec6 100644 --- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java +++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java @@ -598,7 +598,7 @@ public class MavenEbuilder { * @param writer ebuild writer */ private void writeHeader(final PrintWriter writer) { - writer.printf("# Copyright 1999-%d Gentoo Foundation\n", + writer.printf("# Copyright 1999-%d Gentoo Authors\n", LocalDate.now().getYear()); writer.println("# Distributed under the terms of the GNU General " + "Public License v2"); diff --git a/src/main/resources/usage.txt b/src/main/resources/usage.txt index 725643c..78ab745 100644 --- a/src/main/resources/usage.txt +++ b/src/main/resources/usage.txt @@ -2,13 +2,16 @@ Usage: java-ebuilder <args> Generating ebuild: --download-uri|-u <uri> uri that goes to SRC_URI +--binjar-uri <uri> uri that goes to binary jar --dump-projects|-d outputs information about parsed projects (useful for debugging) --ebuild|-e <file> path to ebuild that should be created --force-min-java-version <version> force minimum JDK/JRE version in dependencies +--from-maven-central make java-ebuilder inherit java-pkg-maven.eclass --generate-ebuild|-g generates ebuild from pom.xml --keywords|-k <keywords> arch keywords ---license|-l <license> license name +--license|-l <license> license name, if it is not specified, + java-ebuilder will determine LICENSE from pom.xml --pom|-p <file> path to pom.xml that should be parsed, the path must be relative to workdir (can be specified multiple times) |