aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzongyu <zzy2529420793@gmail.com>2020-08-01 17:16:04 +0800
committerzongyu <zzy2529420793@gmail.com>2020-08-01 23:25:32 +0800
commit1a0861fce9d1eed817114871b073edf1f527e21d (patch)
tree3ea28c2639ff12942a9a76210d77d0687d74de41 /src
parentUse Set instead of List for storing Licenses, update license map (diff)
downloadjava-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>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java2
-rw-r--r--src/main/resources/usage.txt5
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)