From 1a0861fce9d1eed817114871b073edf1f527e21d Mon Sep 17 00:00:00 2001 From: zongyu Date: Sat, 1 Aug 2020 17:16:04 +0800 Subject: update usage.txt, fix Copyright statement of Gentoo Signed-off-by: zongyu --- src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java | 2 +- 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 Generating ebuild: --download-uri|-u uri that goes to SRC_URI +--binjar-uri uri that goes to binary jar --dump-projects|-d outputs information about parsed projects (useful for debugging) --ebuild|-e path to ebuild that should be created --force-min-java-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 arch keywords ---license|-l license name +--license|-l license name, if it is not specified, + java-ebuilder will determine LICENSE from pom.xml --pom|-p path to pom.xml that should be parsed, the path must be relative to workdir (can be specified multiple times) -- cgit v1.2.3-65-gdbad