summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-20 15:50:25 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-20 15:50:25 +0000
commit7fa739d0a43d0b0097e6f4f7710dbea0c572ddaa (patch)
treed480314e5e86d8c8fc061c3be85f157e7fa243d6 /dev-java
parent75a7217abf800cdc40a725805f128d7fd7c9f38a (diff)
downloadbaldeagleos-repo-7fa739d0a43d0b0097e6f4f7710dbea0c572ddaa.tar.gz
baldeagleos-repo-7fa739d0a43d0b0097e6f4f7710dbea0c572ddaa.tar.xz
baldeagleos-repo-7fa739d0a43d0b0097e6f4f7710dbea0c572ddaa.zip
Adding metadata
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/antlr-tool/antlr-tool-4.9.3.ebuild4
-rw-r--r--dev-java/fontbox/fontbox-1.7.1-r2.ebuild8
-rw-r--r--dev-java/freehep-graphicsbase/Manifest1
-rw-r--r--dev-java/freehep-graphicsbase/freehep-graphicsbase-2.4.ebuild49
-rw-r--r--dev-java/freehep-graphicsbase/metadata.xml10
-rw-r--r--dev-java/freehep-io/Manifest1
-rw-r--r--dev-java/freehep-io/freehep-io-2.2.2.ebuild37
-rw-r--r--dev-java/freehep-io/metadata.xml10
-rw-r--r--dev-java/glassfish-interceptor-api/Manifest1
-rw-r--r--dev-java/glassfish-interceptor-api/files/glassfish-interceptor-api-3.1-build.xml.patch10
-rw-r--r--dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild41
-rw-r--r--dev-java/glassfish-interceptor-api/metadata.xml10
-rw-r--r--dev-java/gnu-classpath/Manifest1
-rw-r--r--dev-java/gnu-classpath/files/gnu-classpath-0.98-freetype-2.5.3-support.patch32
-rw-r--r--dev-java/gnu-classpath/gnu-classpath-0.98-r6.ebuild115
-rw-r--r--dev-java/gnu-classpath/metadata.xml19
-rw-r--r--dev-java/gwt/gwt-2.9.0-r3.ebuild (renamed from dev-java/gwt/gwt-2.9.0-r2.ebuild)8
-rw-r--r--dev-java/invokebinder/Manifest1
-rw-r--r--dev-java/invokebinder/files/invokebinder-1.6-build.xml230
-rw-r--r--dev-java/invokebinder/invokebinder-1.6.ebuild44
-rw-r--r--dev-java/invokebinder/metadata.xml10
-rw-r--r--dev-java/java-apicheck/Manifest1
-rw-r--r--dev-java/java-apicheck/java-apicheck-0_p20150907.ebuild22
-rw-r--r--dev-java/java-apicheck/metadata.xml10
-rw-r--r--dev-java/jboss-marshalling-river/Manifest1
-rw-r--r--dev-java/jboss-marshalling-river/jboss-marshalling-river-1.3.0.ebuild31
-rw-r--r--dev-java/jboss-marshalling-river/metadata.xml10
-rw-r--r--dev-java/jboss-marshalling-serial/Manifest1
-rw-r--r--dev-java/jboss-marshalling-serial/jboss-marshalling-serial-1.3.0.ebuild31
-rw-r--r--dev-java/jboss-marshalling-serial/metadata.xml10
-rw-r--r--dev-java/reflections/Manifest1
-rw-r--r--dev-java/reflections/reflections-0.9.12.ebuild99
32 files changed, 114 insertions, 745 deletions
diff --git a/dev-java/antlr-tool/antlr-tool-4.9.3.ebuild b/dev-java/antlr-tool/antlr-tool-4.9.3.ebuild
index 835e4633d53d..3d4f0e5b9450 100644
--- a/dev-java/antlr-tool/antlr-tool-4.9.3.ebuild
+++ b/dev-java/antlr-tool/antlr-tool-4.9.3.ebuild
@@ -82,7 +82,7 @@ src_prepare() {
}
src_compile() {
- ebegin "Generating ANTLR 3 parsers"
+ einfo "Generating ANTLR 3 parsers"
"${MY_JAVA}" -cp "$(java-pkg_getjars \
--build-only --with-dependencies antlr-tool-3.5)" \
org.antlr.Tool $(find "${JAVA_SRC_DIR[@]}" -name "*.g") ||
@@ -109,7 +109,7 @@ src_test() {
CP+=":${res_dir}"
done
- ebegin "Generating ANTLR 4 parsers for tests"
+ einfo "Generating ANTLR 4 parsers for tests"
pushd runtime-testsuite/test > /dev/null ||
die "Failed to enter runtime test source directory"
g4_files=( $(find * -name "*.g4") )
diff --git a/dev-java/fontbox/fontbox-1.7.1-r2.ebuild b/dev-java/fontbox/fontbox-1.7.1-r2.ebuild
index 0f32b29e1928..6125efbc8ddb 100644
--- a/dev-java/fontbox/fontbox-1.7.1-r2.ebuild
+++ b/dev-java/fontbox/fontbox-1.7.1-r2.ebuild
@@ -42,6 +42,14 @@ src_prepare() {
}
src_test() {
+ # junit.framework.AssertionFailedError:
+ # No tests found in org.apache.fontbox.cff.Type1CharStringTest
+ rm src/test/java/org/apache/fontbox/cff/Type1CharStringTest.java || die
+
+ # junit.framework.AssertionFailedError:
+ # No tests found in org.apache.fontbox.cff.Type1FontUtilTest
+ rm src/test/java/org/apache/fontbox/cff/Type1FontUtilTest.java || die
+
java-pkg-2_src_test
}
diff --git a/dev-java/freehep-graphicsbase/Manifest b/dev-java/freehep-graphicsbase/Manifest
deleted file mode 100644
index 9ab19829d002..000000000000
--- a/dev-java/freehep-graphicsbase/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382
diff --git a/dev-java/freehep-graphicsbase/freehep-graphicsbase-2.4.ebuild b/dev-java/freehep-graphicsbase/freehep-graphicsbase-2.4.ebuild
deleted file mode 100644
index 75ea8d477b41..000000000000
--- a/dev-java/freehep-graphicsbase/freehep-graphicsbase-2.4.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MY_PN="freehep-vectorgraphics"
-MY_P="${MY_PN}-${PV}"
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="High Energy Physics Java library - FreeHEP Graphics Base Library"
-HOMEPAGE="http://java.freehep.org/"
-SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz"
-LICENSE="Apache-2.0 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="dev-java/freehep-io:0
- dev-java/junit:4"
-
-DEPEND="${CDEPEND}
- >=virtual/jdk-1.7"
-
-RDEPEND="${CDEPEND}
- >=virtual/jre-1.7"
-
-S="${WORKDIR}/${MY_PN}-${MY_P}/${PN}"
-JAVA_SRC_DIR="src/main/java"
-JAVA_GENTOO_CLASSPATH="freehep-io,junit-4"
-
-src_compile() {
- java-pkg-simple_src_compile
- java-pkg_addres ${PN}.jar src/main/resources
-}
-
-src_test() {
- local DIR=src/test/java
- local CP="${DIR}:${PN}.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})"
- local TESTS=$(find ${DIR} -name "*Test.java" ! -name "ExportFileTypeTest.java")
- TESTS="${TESTS//src\/test\/java\/}"
- TESTS="${TESTS//.java}"
- TESTS="${TESTS//\//.}"
-
- ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
- ejunit4 -classpath "${CP}" ${TESTS}
-}
diff --git a/dev-java/freehep-graphicsbase/metadata.xml b/dev-java/freehep-graphicsbase/metadata.xml
deleted file mode 100644
index e25b5c52aab3..000000000000
--- a/dev-java/freehep-graphicsbase/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/freehep-io/Manifest b/dev-java/freehep-io/Manifest
deleted file mode 100644
index ec866c6b4d7c..000000000000
--- a/dev-java/freehep-io/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST freehep-io-2.2.2.tar.gz 76935 BLAKE2B 11468effa883c44f4376bac7282881942209cd5769545083bd761489f31eceec96c909d452f2a056172c8fee65917895acb34c18583d771a258883e4e12c3906 SHA512 1cc7cab3d9648b119aa8c637c84cd985adc0f9dd2cdd153021500831325d719ef5fa41d8964ccbeed3af95b87e09c4886597c0ede1370a209f6807932636b0ee
diff --git a/dev-java/freehep-io/freehep-io-2.2.2.ebuild b/dev-java/freehep-io/freehep-io-2.2.2.ebuild
deleted file mode 100644
index 12bf7791effb..000000000000
--- a/dev-java/freehep-io/freehep-io-2.2.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="High Energy Physics Java library - FreeHEP I/O Library"
-HOMEPAGE="http://java.freehep.org/"
-SRC_URI="https://github.com/freehep/${PN}/archive/${P}.tar.gz"
-LICENSE="Apache-2.0 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND=">=virtual/jdk-1.7
- test? ( dev-java/junit:4 )"
-
-RDEPEND=">=virtual/jre-1.7"
-
-S="${WORKDIR}/${PN}-${P}"
-JAVA_SRC_DIR="src/main/java"
-
-src_test() {
- local DIR=src/test/java
- local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4)"
- local TESTS=$(find ${DIR} -name "*Test.java" ! -name "Abstract*")
- TESTS="${TESTS//src\/test\/java\/}"
- TESTS="${TESTS//.java}"
- TESTS="${TESTS//\//.}"
-
- ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
- ejunit4 -classpath "${CP}" ${TESTS}
-}
diff --git a/dev-java/freehep-io/metadata.xml b/dev-java/freehep-io/metadata.xml
deleted file mode 100644
index e25b5c52aab3..000000000000
--- a/dev-java/freehep-io/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/glassfish-interceptor-api/Manifest b/dev-java/glassfish-interceptor-api/Manifest
deleted file mode 100644
index 2a6533b9feaa..000000000000
--- a/dev-java/glassfish-interceptor-api/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST glassfish-interceptor-api-3.1.tar.xz 14600 BLAKE2B ef46f503a0a44650750f9cc53b51d02219779e2b1891c46179e07566a7ed359cb8ac455d2819bd22c5af7a78f33861a32e26c2cf977ebdac46f172e144c536dd SHA512 674f53d53afb63799c579b0ec177a009178315fb62f027441da14ceb5d6fa07408840ad82aa8fa7be31b53d43b53ff28ffb1617d644c989bc4ac17ce5e626563
diff --git a/dev-java/glassfish-interceptor-api/files/glassfish-interceptor-api-3.1-build.xml.patch b/dev-java/glassfish-interceptor-api/files/glassfish-interceptor-api-3.1-build.xml.patch
deleted file mode 100644
index 1a912da629c2..000000000000
--- a/dev-java/glassfish-interceptor-api/files/glassfish-interceptor-api-3.1-build.xml.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/maven-build.xml
-+++ b/maven-build.xml
-@@ -166,7 +166,6 @@
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
- compress="true"
- index="false"
-- manifest="/tmp/glassfish-interceptor-api-3.1/target/classes/META-INF/MANIFEST.MF"
- basedir="${maven.build.outputDir}"
- excludes="**/package.html"/>
- </target>
diff --git a/dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild b/dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild
deleted file mode 100644
index 33ed4ef1f8d2..000000000000
--- a/dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-ant-2
-
-TOMEE_PV="1.5.2"
-
-DESCRIPTION="Project GlassFish Interceptor API"
-HOMEPAGE="https://glassfish.java.net/"
-SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux"
-
-CDEPEND=""
-
-DEPEND=">=virtual/jdk-1.7
- ${CDEPEND}"
-
-RDEPEND=">=virtual/jre-1.7
- ${CDEPEND}"
-
-JAVA_ANT_REWRITE_CLASSPATH="true"
-EANT_GENTOO_CLASSPATH=""
-JAVA_PKG_BSFIX_NAME="maven-build.xml"
-
-java_prepare() {
- epatch "${FILESDIR}"/${P}-build.xml.patch
-}
-
-src_install() {
- java-pkg_newjar target/javax.interceptor-api-${PV}.jar
-
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java/javax
-}
diff --git a/dev-java/glassfish-interceptor-api/metadata.xml b/dev-java/glassfish-interceptor-api/metadata.xml
deleted file mode 100644
index e25b5c52aab3..000000000000
--- a/dev-java/glassfish-interceptor-api/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/gnu-classpath/Manifest b/dev-java/gnu-classpath/Manifest
deleted file mode 100644
index ffb9d0662305..000000000000
--- a/dev-java/gnu-classpath/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST classpath-0.98.tar.gz 11021342 BLAKE2B 8bd0c55153569b34dfde767233ed48f6ebf0f507d34d991a410b0e40a2ddfbd20d4568697265f8544823337f568a916288e92c096b39fcd5c67afc82ddfc3cc3 SHA512 0d98f87cd78c166d566ecd8d0372f2d6cdf422e8c4c806ca01d3a77dafbdd80ee936de78a2c5d4226174027efdc053fe92669514bdd8acb3290a7b3ec002d31f
diff --git a/dev-java/gnu-classpath/files/gnu-classpath-0.98-freetype-2.5.3-support.patch b/dev-java/gnu-classpath/files/gnu-classpath-0.98-freetype-2.5.3-support.patch
deleted file mode 100644
index 42828e2a4b8f..000000000000
--- a/dev-java/gnu-classpath/files/gnu-classpath-0.98-freetype-2.5.3-support.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c.orig 2014-03-18 10:35:50.904133661 +0100
-+++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c 2014-03-18 10:37:03.808131298 +0100
-@@ -42,8 +42,9 @@
- #include <pango/pango.h>
- #include <pango/pangoft2.h>
- #include <pango/pangofc-font.h>
--#include <freetype/ftglyph.h>
--#include <freetype/ftoutln.h>
-+#include <ft2build.h>
-+#include FT_GLYPH_H
-+#include FT_OUTLINE_H
- #include "jcl.h"
- #include "gdkfont.h"
- #include "gnu_java_awt_peer_gtk_FreetypeGlyphVector.h"
---- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c.orig 2014-03-18 10:37:12.048131031 +0100
-+++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 2014-03-18 10:37:58.416129528 +0100
-@@ -39,10 +39,11 @@
- #include <pango/pango.h>
- #include <pango/pangoft2.h>
- #include <pango/pangofc-font.h>
--#include <freetype/ftglyph.h>
--#include <freetype/ftoutln.h>
--#include <freetype/fttypes.h>
--#include <freetype/tttables.h>
-+#include <ft2build.h>
-+#include FT_GLYPH_H
-+#include FT_OUTLINE_H
-+#include FT_TYPES_H
-+#include FT_TRUETYPE_TABLES_H
- #include "gdkfont.h"
- #include "gtkpeer.h"
- #include "gnu_java_awt_peer_gtk_GdkFontPeer.h" \ No newline at end of file
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.98-r6.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.98-r6.ebuild
deleted file mode 100644
index 618fe63fb741..000000000000
--- a/dev-java/gnu-classpath/gnu-classpath-0.98-r6.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit epatch java-pkg-2 multilib
-
-MY_P=${P/gnu-/}
-DESCRIPTION="Free core class libraries for use with Java VMs and compilers"
-SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz"
-HOMEPAGE="https://www.gnu.org/software/classpath"
-
-LICENSE="GPL-2-with-linking-exception"
-SLOT="0.98"
-KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux"
-
-IUSE="alsa debug doc dssi examples gconf +gjdoc gmp gtk xml"
-REQUIRED_USE="doc? ( gjdoc )"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- dssi? ( >=media-libs/dssi-0.9 )
- gconf? ( gnome-base/gconf:2= )
- gjdoc? ( >=dev-java/antlr-2.7.7-r7:0 )
- gmp? ( >=dev-libs/gmp-4.2.4:0= )
- gtk? (
- >=x11-libs/gtk+-2.8:2=
- dev-libs/glib:2=
- media-libs/freetype:2=
- >=x11-libs/cairo-1.1.9:=
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pango
- )
- xml? ( >=dev-libs/libxml2-2.6.8:2= >=dev-libs/libxslt-1.1.11 )"
-
-DEPEND="app-arch/zip
- gtk? (
- x11-base/xorg-proto
- x11-libs/libXrender
- >=x11-libs/libXtst-1.1.0
- )
- >=virtual/jdk-1.5
- ${RDEPEND}"
-
-RDEPEND=">=virtual/jre-1.5
- ${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-java_prepare() {
- epatch "${FILESDIR}"/${P}-freetype-2.5.3-support.patch
-}
-
-src_configure() {
- # don't use econf, because it ends up putting things under /usr, which may
- # collide with other slots of classpath
- local myconf
- if use gjdoc; then
- local antlr=$(java-pkg_getjar antlr antlr.jar)
- myconf="--with-antlr-jar=${antlr}"
- fi
-
- if use doc; then
- # Avoid a cyclic dependency on gjdoc by building gjdoc before
- # the docs. First we need to trick configure. Hack alert!
- echo -e "#!/bin/sh\necho gjdoc 0.8" > tools/gjdoc.build || die
- chmod 755 tools/gjdoc.build || die
- fi
-
- ANTLR= ./configure \
- $(use_enable alsa) \
- $(use_enable debug ) \
- $(use_enable examples) \
- $(use_enable gconf gconf-peer) \
- $(use_enable gjdoc) \
- $(use_enable gmp) \
- $(use_enable gtk gtk-peer) \
- $(use_enable xml xmlj) \
- $(use_enable dssi ) \
- $(use_with doc gjdoc "${S}/tools/gjdoc.build") \
- --enable-jni \
- --disable-plugin \
- --host=${CHOST} \
- --prefix="${EPREFIX}"/usr/${PN}-${SLOT} \
- --disable-Werror \
- ${myconf} || die "configure failed"
-}
-
-src_compile() {
- if use doc; then
- # Build gjdoc before the docs. We need to hack the real gjdoc
- # script to run from the build directory instead.
- sed -r "s:^(tools_dir=).*:\1${S}/tools:" tools/gjdoc > tools/gjdoc.build || die
- emake -C lib
- emake -C tools
- fi
-
- default
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO
- java-pkg_regjar /usr/${P}/share/classpath/glibj.zip
-
- if use doc; then
- # Strangely the Makefile doesn't install these.
- insinto /usr/${PN}-${SLOT}/share/classpath/api
- doins -r doc/api/html/*
- fi
-}
diff --git a/dev-java/gnu-classpath/metadata.xml b/dev-java/gnu-classpath/metadata.xml
deleted file mode 100644
index 405e8264fd36..000000000000
--- a/dev-java/gnu-classpath/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <use>
- <flag name="alsa">Build with ALSA javax.sound.midi provider</flag>
- <flag name="dssi">Build with DSSI javax.sound.midi provider</flag>
- <flag name="gconf">Build with GConf preferences backend</flag>
- <flag name="gmp">Build with GMP backend for java.math.BigInteger</flag>
- <flag name="gjdoc">Build GJDoc, a documentation generator</flag>
- <flag name="gtk">Build with Gtk+ AWT peers</flag>
- <flag name="xml">Build with native XML backend</flag>
- </use>
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/gwt/gwt-2.9.0-r2.ebuild b/dev-java/gwt/gwt-2.9.0-r3.ebuild
index 3a3fb5492c29..a86cdb15be16 100644
--- a/dev-java/gwt/gwt-2.9.0-r2.ebuild
+++ b/dev-java/gwt/gwt-2.9.0-r3.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
JAVA_PKG_IUSE="source"
-inherit java-pkg-2 java-ant-2 java-utils-2
+inherit java-pkg-2 java-ant-2
GWT_TOOLS_COMMIT="194772ed94078802d8030136796de344eb1fdbe1"
GWT_TOOLS_PN="tools"
@@ -24,7 +24,7 @@ LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
CDEPEND="
- dev-java/guava:20
+ dev-java/guava:0
dev-java/rhino:1.6
dev-java/asm:9
dev-java/eclipse-ecj:4.15
@@ -43,7 +43,7 @@ JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_BUILD_TARGET="build"
EANT_GENTOO_CLASSPATH="
asm-9
- guava-20
+ guava
rhino-1.6
eclipse-ecj-4.15
validation-api-1.0
diff --git a/dev-java/invokebinder/Manifest b/dev-java/invokebinder/Manifest
deleted file mode 100644
index d0c88ffac6ee..000000000000
--- a/dev-java/invokebinder/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST invokebinder-1.6.tar.gz 36027 BLAKE2B b1a676063690500ae0a2c39eed7828d115074fd18ac88338e6078413d837f91e5a1a9a5beb2da976f82315fc6fb63de6f3df47e82c2e7589d4689986d78e3fa1 SHA512 cacdd6dd5fe74bbba940be1b3d53b183adc247b74e89cc0784805b2ad2c63d12ca1abe20bacf0a90ea50db7574e43d4ac52b5a46e61912e5153e2ac2f6bc559a
diff --git a/dev-java/invokebinder/files/invokebinder-1.6-build.xml b/dev-java/invokebinder/files/invokebinder-1.6-build.xml
deleted file mode 100644
index 55c846cf0427..000000000000
--- a/dev-java/invokebinder/files/invokebinder-1.6-build.xml
+++ /dev/null
@@ -1,230 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
-<!-- ====================================================================== -->
-
-<!-- ====================================================================== -->
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
-<!-- ====================================================================== -->
-<!-- -->
-<!-- Any modifications will be overwritten. -->
-<!-- -->
-<!-- Generated by Maven Ant Plugin on 10/12/15 9:24 PM -->
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<project name="invokebinder-from-maven" default="package" basedir=".">
-
- <!-- ====================================================================== -->
- <!-- Build environment properties -->
- <!-- ====================================================================== -->
-
- <property file="${user.home}/.m2/maven.properties"/>
- <property file="maven-build.properties"/>
-
- <property name="maven.build.finalName" value="invokebinder-1.6"/>
- <property name="maven.build.dir" value="target"/>
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
- <property name="maven.build.srcDir.0" value="src/main/java"/>
- <property name="maven.build.resourceDir.0" value="src/main/resources"/>
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
- <property name="maven.build.testDir.0" value="src/test/java"/>
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
-
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
- <property name="maven.settings.offline" value="false"/>
- <property name="maven.settings.interactiveMode" value="true"/>
-
- <!-- ====================================================================== -->
- <!-- Defining classpaths -->
- <!-- ====================================================================== -->
-
- <path id="build.classpath"/>
- <path id="build.test.classpath">
- <pathelement location="${maven.repo.local}/junit/junit/4.9/junit-4.9.jar"/>
- <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
- </path>
-
- <!-- ====================================================================== -->
- <!-- Cleaning up target -->
- <!-- ====================================================================== -->
-
- <target name="clean" description="Clean the output directory">
- <delete dir="${maven.build.dir}"/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Compilation target -->
- <!-- ====================================================================== -->
-
- <target name="compile" description="Compile the code">
- <mkdir dir="${maven.build.outputDir}"/>
- <javac destdir="${maven.build.outputDir}"
- encoding="UTF-8"
- nowarn="false"
- debug="true"
- optimize="false"
- deprecation="true"
- target="1.7"
- verbose="false"
- fork="false"
- source="1.7">
- <src>
- <pathelement location="${maven.build.srcDir.0}"/>
- </src>
- <classpath refid="build.classpath"/>
- </javac>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Test-compilation target -->
- <!-- ====================================================================== -->
-
- <target name="compile-tests"
- depends="compile"
- description="Compile the test code"
- unless="maven.test.skip">
- <mkdir dir="${maven.build.testOutputDir}"/>
- <javac destdir="${maven.build.testOutputDir}"
- encoding="UTF-8"
- nowarn="false"
- debug="true"
- optimize="false"
- deprecation="true"
- target="1.7"
- verbose="false"
- fork="false"
- source="1.7">
- <src>
- <pathelement location="${maven.build.testDir.0}"/>
- </src>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${maven.build.outputDir}"/>
- </classpath>
- </javac>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Run all tests -->
- <!-- ====================================================================== -->
-
- <target name="test"
- depends="compile-tests, junit-missing"
- unless="junit.skipped"
- description="Run the test cases">
- <mkdir dir="${maven.test.reports}"/>
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
- <sysproperty key="basedir" value="."/>
- <formatter type="xml"/>
- <formatter type="plain" usefile="false"/>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${maven.build.outputDir}"/>
- <pathelement location="${maven.build.testOutputDir}"/>
- </classpath>
- <batchtest todir="${maven.test.reports}" unless="test">
- <fileset dir="${maven.build.testDir.0}">
- <include name="**/Test*.java"/>
- <include name="**/*Test.java"/>
- <include name="**/*TestCase.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- <batchtest todir="${maven.test.reports}" if="test">
- <fileset dir="${maven.build.testDir.0}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-junit-present">
- <available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
- </target>
-
- <target name="test-junit-status"
- depends="test-junit-present">
- <condition property="junit.missing">
- <and>
- <isfalse value="${junit.present}"/>
- <isfalse value="${maven.test.skip}"/>
- </and>
- </condition>
- <condition property="junit.skipped">
- <or>
- <isfalse value="${junit.present}"/>
- <istrue value="${maven.test.skip}"/>
- </or>
- </condition>
- </target>
-
- <target name="junit-missing"
- depends="test-junit-status"
- if="junit.missing">
- <echo>=================================== WARNING ===================================</echo>
- <echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
- <echo>===============================================================================</echo>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Javadoc target -->
- <!-- ====================================================================== -->
-
- <target name="javadoc" description="Generates the Javadoc of the application">
- <javadoc sourcepath="${maven.build.srcDir.0}"
- packagenames="*"
- destdir="${maven.reporting.outputDirectory}/apidocs"
- access="protected"
- old="false"
- verbose="false"
- version="true"
- use="true"
- author="true"
- splitindex="false"
- nodeprecated="false"
- nodeprecatedlist="false"
- notree="false"
- noindex="false"
- nohelp="false"
- nonavbar="false"
- serialwarn="false"
- charset="ISO-8859-1"
- linksource="false"
- breakiterator="false"/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Package target -->
- <!-- ====================================================================== -->
-
- <target name="package" depends="compile,test" description="Package the application">
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
- compress="true"
- index="false"
- basedir="${maven.build.outputDir}"
- excludes="**/package.html"/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- A dummy target for the package named after the type it creates -->
- <!-- ====================================================================== -->
-
- <target name="jar" depends="package" description="Builds the jar for the application"/>
-
- <!-- ====================================================================== -->
- <!-- Download dependencies target -->
- <!-- ====================================================================== -->
-
- <target name="test-offline">
- <condition property="maven.mode.offline">
- <equals arg1="${maven.settings.offline}" arg2="true"/>
- </condition>
- </target>
-
-</project>
diff --git a/dev-java/invokebinder/invokebinder-1.6.ebuild b/dev-java/invokebinder/invokebinder-1.6.ebuild
deleted file mode 100644
index 6eafa55d1d55..000000000000
--- a/dev-java/invokebinder/invokebinder-1.6.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="Provide a friendly DSL for binding method handles"
-HOMEPAGE="https://github.com/headius/invokebinder"
-SRC_URI="https://github.com/headius/${PN}/archive/${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-LICENSE="Apache-2.0"
-
-S="${WORKDIR}/${PN}-${P}"
-
-DEPEND=">=virtual/jdk-1.7
- test? (
- dev-java/ant-junit:0
- )"
-RDEPEND=">=virtual/jre-1.7"
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-EANT_TEST_TARGET="test"
-
-java_prepare() {
- cp "${FILESDIR}"/${P}-build.xml build.xml || die
-}
-
-src_test() {
- java-pkg-2_src_test
-}
-
-src_install() {
- java-pkg_newjar "target/${P}.jar" "${PN}.jar"
- use source && java-pkg_dosrc src/main/java/com
- if use doc; then
- java-pkg_dojavadoc target/site/apidocs
- dodoc README.markdown
- fi
-}
diff --git a/dev-java/invokebinder/metadata.xml b/dev-java/invokebinder/metadata.xml
deleted file mode 100644
index e25b5c52aab3..000000000000
--- a/dev-java/invokebinder/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/java-apicheck/Manifest b/dev-java/java-apicheck/Manifest
deleted file mode 100644
index 99c6c70cb769..000000000000
--- a/dev-java/java-apicheck/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST java-apicheck-0_p20150907.tar.gz 1550 BLAKE2B 75d53337c6ead56927897ec26f7c475296564e737eb91c66f330aefed8f0675b27c23cbbf34a27d15e42e3e3a74ac078465b7dd6030faf1fe3d09cd1f45d7255 SHA512 68a3a5443ea26840a526c2e53451e47e441f6ec15b2ddffef8f5d63a50f1129d18cd65506ecfe0bbf3f9829514697648eff8f64e558f0bd5376b0bf2add70b70
diff --git a/dev-java/java-apicheck/java-apicheck-0_p20150907.ebuild b/dev-java/java-apicheck/java-apicheck-0_p20150907.ebuild
deleted file mode 100644
index 2e81654149b2..000000000000
--- a/dev-java/java-apicheck/java-apicheck-0_p20150907.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-DESCRIPTION="Command line tool to check Java packages for API compatibility"
-HOMEPAGE="https://github.com/gentoo/java-apicheck/"
-SRC_URI="https://github.com/gentoo/java-apicheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="
- dev-java/japitools
- dev-java/java-config
- "
-
-src_install() {
- dobin ${PN}
-}
diff --git a/dev-java/java-apicheck/metadata.xml b/dev-java/java-apicheck/metadata.xml
deleted file mode 100644
index e25b5c52aab3..000000000000
--- a/dev-java/java-apicheck/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/jboss-marshalling-river/Manifest b/dev-java/jboss-marshalling-river/Manifest
deleted file mode 100644
index 7dcc17fff70c..000000000000
--- a/dev-java/jboss-marshalling-river/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST jboss-marshalling-river-1.3.0.CR9-sources.jar 45310 BLAKE2B 87eced675dbdb0d645ae4f3321954142922053008a650a9604b32c5e850c280c16d941997874c420e48e894e9f63c6441e6b3cd629fcfe7ad31ae13abb6f41e7 SHA512 0ff0ba48f8e4c1e76d378843aeae4793992fc200cf6d5aeeeec7341ddcd6bc3c93915ccb2bddbf3996661ff21e3a992e232c0721ec4469c5347811afabec4351
diff --git a/dev-java/jboss-marshalling-river/jboss-marshalling-river-1.3.0.ebuild b/dev-java/jboss-marshalling-river/jboss-marshalling-river-1.3.0.ebuild
deleted file mode 100644
index 89c496f77cee..000000000000
--- a/dev-java/jboss-marshalling-river/jboss-marshalling-river-1.3.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="River protocol implementation for JBoss Marshalling"
-HOMEPAGE="https://jbossmarshalling.jboss.org/"
-SRC_URI="https://download.jboss.org/jbossmarshalling/${P}.CR9-sources.jar"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-CDEPEND="~dev-java/jboss-marshalling-${PV}:0"
-
-RDEPEND="${CDEPEND}
- >=virtual/jre-1.7"
-
-DEPEND="${CDEPEND}
- >=virtual/jdk-1.7
- app-arch/unzip"
-
-JAVA_GENTOO_CLASSPATH="jboss-marshalling"
-
-src_compile() {
- java-pkg-simple_src_compile
- java-pkg_addres ${PN}.jar .
-}
diff --git a/dev-java/jboss-marshalling-river/metadata.xml b/dev-java/jboss-marshalling-river/metadata.xml
deleted file mode 100644
index e25b5c52aab3..000000000000
--- a/dev-java/jboss-marshalling-river/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/jboss-marshalling-serial/Manifest b/dev-java/jboss-marshalling-serial/Manifest
deleted file mode 100644
index 61818ebafdfa..000000000000
--- a/dev-java/jboss-marshalling-serial/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST jboss-marshalling-serial-1.3.0.CR9-sources.jar 33627 BLAKE2B 76a6d6656c456ef5b4a4acbb659f52280d63b48aea46ff4fd190f8a9b5852157e37ce511a1af87007b04f03401082dd5e9a0d540ba27ac02567e7e50f04ebc33 SHA512 23343b43d2d81fb3f9d22e82d04e3c215cf0357fe369ac316a602b4599f84602bdd38fd50c8378050b1d031db2ad31405fc38bc93ef7a9327d63a29dd73ee144
diff --git a/dev-java/jboss-marshalling-serial/jboss-marshalling-serial-1.3.0.ebuild b/dev-java/jboss-marshalling-serial/jboss-marshalling-serial-1.3.0.ebuild
deleted file mode 100644
index d62b7906fcb7..000000000000
--- a/dev-java/jboss-marshalling-serial/jboss-marshalling-serial-1.3.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Serial protocol implementation for JBoss Marshalling"
-HOMEPAGE="https://jbossmarshalling.jboss.org/"
-SRC_URI="https://download.jboss.org/jbossmarshalling/${P}.CR9-sources.jar"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-CDEPEND="~dev-java/jboss-marshalling-${PV}:0"
-
-RDEPEND="${CDEPEND}
- >=virtual/jre-1.7"
-
-DEPEND="${CDEPEND}
- >=virtual/jdk-1.7
- app-arch/unzip"
-
-JAVA_GENTOO_CLASSPATH="jboss-marshalling"
-
-src_compile() {
- java-pkg-simple_src_compile
- java-pkg_addres ${PN}.jar .
-}
diff --git a/dev-java/jboss-marshalling-serial/metadata.xml b/dev-java/jboss-marshalling-serial/metadata.xml
deleted file mode 100644
index e25b5c52aab3..000000000000
--- a/dev-java/jboss-marshalling-serial/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-java/reflections/Manifest b/dev-java/reflections/Manifest
index 370bec9b0906..accc0725d1d8 100644
--- a/dev-java/reflections/Manifest
+++ b/dev-java/reflections/Manifest
@@ -1 +1,2 @@
DIST reflections-0.9.10-sources.jar 53049 BLAKE2B 23491098dc648206161d983148bf11a1c4523df0593c903f9dbf03672b481d85aabaed7733a5d829b7f334e51d53dadde3fd439e62f9873ceb11f49f40a2cfef SHA512 940b80ed43aa900177e6c3551980eafe10f7ea16a1e5c0d24fc8c1e29f1e0155aae83e24f60af10f9743449ed38d2d3b211f3668fafbd95a6a2cb9c5581f56bf
+DIST reflections-0.9.12.tar.gz 48235 BLAKE2B c82bd69f4433d8db738fcd32dd7fbf643984917622853b1886e15b906a91579de0193daf0fc1a9642c12d13de8236acf3e1f1409a18713b37c6e705a3cae34bd SHA512 8f8c7603ab73b599c6e2160f42b61c4e0eedef9981c06124bba0437d6636e7bf8a916784e266754562dc17f4d3ccf8df6c9ba707d1a7c38d97dc5eea9138064f
diff --git a/dev-java/reflections/reflections-0.9.12.ebuild b/dev-java/reflections/reflections-0.9.12.ebuild
new file mode 100644
index 000000000000..81b492eaeeb4
--- /dev/null
+++ b/dev-java/reflections/reflections-0.9.12.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/ronmamo/reflections/archive/0.9.12.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild reflections-0.9.12.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.reflections:reflections:0.9.12"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Reflections - a Java runtime metadata analysis"
+HOMEPAGE="https://github.com/ronmamo/reflections"
+SRC_URI="https://github.com/ronmamo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="WTFPL-2 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+# Common dependencies
+# POM: pom.xml
+# com.google.code.gson:gson:2.8.6 -> >=dev-java/gson-2.8.8:2.6
+# org.dom4j:dom4j:2.1.1 -> >=dev-java/dom4j-2.1.3:1
+# org.javassist:javassist:3.26.0-GA -> !!!suitable-mavenVersion-not-found!!!
+# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0
+# org.slf4j:slf4j-simple:1.7.24 -> >=dev-java/slf4j-simple-1.7.30:0
+
+CP_DEPEND="
+ dev-java/dom4j:1
+ dev-java/gson:2.6
+ dev-java/javassist:3
+ dev-java/slf4j-api:0
+ dev-java/slf4j-simple:0
+"
+
+# Compile dependencies
+# POM: pom.xml
+# javax.servlet:servlet-api:2.5 -> java-virtuals/servlet-api:2.5
+# POM: pom.xml
+# test? junit:junit:4.13 -> >=dev-java/junit-4.13.2:4
+
+DEPEND="
+ java-virtuals/servlet-api:2.5
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+S="${WORKDIR}/${P}"
+
+JAVA_CLASSPATH_EXTRA="servlet-api-2.5"
+JAVA_SRC_DIR=( "src/main/java" )
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR=( "src/test/java" )
+JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" )
+JAVA_TEST_EXCLUDES=(
+ # Upstream does not run this test
+ "org.reflections.TestModel"
+ # 1) testMethodParameterNames(org.reflections.ReflectionsCollectTest)
+ # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured
+ # at org.reflections.Store.get(Store.java:39)
+ # at org.reflections.Store.get(Store.java:61)
+ # at org.reflections.Store.get(Store.java:46)
+ # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579)
+ # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239)
+ org.reflections.ReflectionsCollectTest
+ # 2) testMethodParameterNames(org.reflections.ReflectionsParallelTest)
+ # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured
+ # at org.reflections.Store.get(Store.java:39)
+ # at org.reflections.Store.get(Store.java:61)
+ # at org.reflections.Store.get(Store.java:46)
+ # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579)
+ # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239)
+ org.reflections.ReflectionsParallelTest
+ # 3) testMethodParameterNames(org.reflections.ReflectionsTest)
+ # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured
+ # at org.reflections.Store.get(Store.java:39)
+ # at org.reflections.Store.get(Store.java:61)
+ # at org.reflections.Store.get(Store.java:46)
+ # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579)
+ # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239)
+ org.reflections.ReflectionsTest
+ #
+ # https://github.com/ronmamo/reflections/issues/277#issuecomment-927152981
+ # scanner was not configured exception - this is a known issue in 0.9.12, a simple workaround is to
+ # check if the getStore() contains index for the scanner before querying. next version 0.10 fixes this.
+)
+
+src_install() {
+ default # https://bugs.gentoo.org/789582
+ java-pkg-simple_src_install
+}