aboutsummaryrefslogtreecommitdiff
path: root/maven
diff options
context:
space:
mode:
authorzongyu <zzy2529420793@gmail.com>2020-08-07 10:48:43 +0800
committerzongyu <zzy2529420793@gmail.com>2020-08-07 11:14:36 +0800
commitab5d26a990de18f3ec1f2166f39da7971c910e2b (patch)
tree4a64eb738792a90a57fcbdfea1d0d907af412447 /maven
parentmake java-ebuilder able to recogize junit-5 and cucumber testing frameworks (diff)
downloadjava-ebuilder-ab5d26a990de18f3ec1f2166f39da7971c910e2b.tar.gz
java-ebuilder-ab5d26a990de18f3ec1f2166f39da7971c910e2b.tar.bz2
java-ebuilder-ab5d26a990de18f3ec1f2166f39da7971c910e2b.zip
minor bugfixes:
1. ebuild for jsch-agent-proxy can be generated by hand, remove the related lines 2. make java-pkg-binjar.eclass record dependencies of the pkg 3. fix typo: juniper -> jupiter 4. move the pre-process of maven's license name to MavenLicense Signed-off-by: zongyu <zzy2529420793@gmail.com>
Diffstat (limited to 'maven')
-rw-r--r--maven/eclass/java-pkg-binjar.eclass6
-rw-r--r--maven/eclass/java-pkg-maven.eclass2
2 files changed, 6 insertions, 2 deletions
diff --git a/maven/eclass/java-pkg-binjar.eclass b/maven/eclass/java-pkg-binjar.eclass
index 79947e7..5406455 100644
--- a/maven/eclass/java-pkg-binjar.eclass
+++ b/maven/eclass/java-pkg-binjar.eclass
@@ -27,4 +27,8 @@ java-pkg-binjar_src_unpack() {
# @FUNCTION: java-pkg-simple_src_compile
# @DESCRIPTION:
# Do nothing as we are doing binary install.
-java-pkg-binjar_src_compile() { :; }
+java-pkg-binjar_src_compile() {
+ for dependency in ${JAVA_GENTOO_CLASSPATH//,/ }; do
+ java-pkg_record-jar_ ${dependency}
+ done
+}
diff --git a/maven/eclass/java-pkg-maven.eclass b/maven/eclass/java-pkg-maven.eclass
index fb41bb2..68f6712 100644
--- a/maven/eclass/java-pkg-maven.eclass
+++ b/maven/eclass/java-pkg-maven.eclass
@@ -28,7 +28,7 @@ EXPORT_FUNCTIONS src_unpack
# @DESCRIPTION:
# A directory relative to ${S} which contains the resources of the
# application. Give it a default value to handle src_unpack.
-: ${JAVA_RESOURCE_DIRS:=src/main/resources}
+: ${JAVA_RESOURCE_DIRS:=resources}
# @ECLASS-VARIABLE: JAVA_RESOURCE_DIRS
# @DEFAULT_UNSET