diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-10-24 11:34:29 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-10-25 10:17:39 +0200 |
commit | dcaf11f20f2661fc23472b8274382e417aff52fc (patch) | |
tree | 39cb4c8e443d650e7c4bc506ae486675c179317f /dev-java/plexus-classworlds | |
parent | dev-java/xmlunit: update HOMEPAGE (diff) | |
download | gentoo-dcaf11f20f2661fc23472b8274382e417aff52fc.tar.gz gentoo-dcaf11f20f2661fc23472b8274382e417aff52fc.tar.bz2 gentoo-dcaf11f20f2661fc23472b8274382e417aff52fc.zip |
dev-java/plexus-classworlds: add 2.7.0
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33489
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/plexus-classworlds')
-rw-r--r-- | dev-java/plexus-classworlds/Manifest | 1 | ||||
-rw-r--r-- | dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/plexus-classworlds/Manifest b/dev-java/plexus-classworlds/Manifest index 2136c99da805..048135928211 100644 --- a/dev-java/plexus-classworlds/Manifest +++ b/dev-java/plexus-classworlds/Manifest @@ -1 +1,2 @@ DIST plexus-classworlds-2.6.0.tar.gz 57221 BLAKE2B 7cef274981101eab85247c1a19420ebbb626b671312579ea665fc3d82e9eb8caba55955ccbc38ccd54e19c55ec1683b6a99a2cd96b08bf7ace57355a8e958d1f SHA512 d6ef17a4651da99975bcfc04f89ba128d891efc9047dc9b8afa52bd092d07268d44a7424a3a3700209bb56452f035ac1071c58ae6dc961b7e991efee1c0e117e +DIST plexus-classworlds-2.7.0.tar.gz 60221 BLAKE2B 8adbad24c057982dd3da6ce221175cf0b3e6585316de02434214d7d470b24220edaa94f4191cb2febfc4e3006a78cd3be5cc0f793438a5009ee20ef8c602768b SHA512 625d83c1a08a15e0d85984518eaec36bf001e562c49df4d5028e9fec1a9fdc69faa88066441da3cedd803fc20932fcaef9f2e924a485e0a0dcde60a600b32c7f diff --git a/dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild b/dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild new file mode 100644 index 000000000000..df33db15f12a --- /dev/null +++ b/dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.codehaus.plexus:plexus-classworlds:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The class loader framework of the Plexus project" +HOMEPAGE="https://codehaus-plexus.github.io/plexus-classworlds/" +SRC_URI="https://github.com/codehaus-plexus/plexus-classworlds/archive/plexus-classworlds-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/ant-core:0 + dev-java/commons-logging:0 + dev-java/xml-commons-external:1.4 + ) +" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_MAIN_CLASS="org.codehaus.plexus.classworlds.launcher.Launcher" +JAVA_SRC_DIR="src/main/java/" + +# Invalid test class, No runnable methods +JAVA_TEST_EXCLUDES="org.codehaus.plexus.classworlds.TestUtil" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/test-data" +JAVA_TEST_SRC_DIR="src/test/java" + +src_test(){ + # java.io.FileNotFoundException: target/test-lib/xml-apis-1.3.02.jar + mkdir -p target/test-lib || die + java-pkg_jar-from --into target/test-lib xml-commons-external-1.4 xml-commons-external.jar xml-apis-1.3.02.jar + java-pkg_jar-from --into target/test-lib ant-core ant.jar ant-1.9.0.jar + java-pkg_jar-from --into target/test-lib commons-logging commons-logging.jar commons-logging-1.0.3.jar + java-pkg-simple_src_test +} |