dev-java/plexus-classworlds: add 2.9.0

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/44478
Closes: https://github.com/gentoo/gentoo/pull/44478
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2025-04-06 11:18:04 +02:00
committed by Miroslav Šulc
parent 9320218f85
commit 8da2cab474
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST plexus-classworlds-2.7.0.tar.gz 60221 BLAKE2B 8adbad24c057982dd3da6ce221175cf0b3e6585316de02434214d7d470b24220edaa94f4191cb2febfc4e3006a78cd3be5cc0f793438a5009ee20ef8c602768b SHA512 625d83c1a08a15e0d85984518eaec36bf001e562c49df4d5028e9fec1a9fdc69faa88066441da3cedd803fc20932fcaef9f2e924a485e0a0dcde60a600b32c7f
DIST plexus-classworlds-2.9.0.tar.gz 61378 BLAKE2B edcd8584c0851960b16f976d6a1b7767ec760b187250c1b10e372219ec5d1a97ee7690744a9b5761cb3970ec8eacbca19310b4d4760bfb88cc9549ee0ce9bfed SHA512 c93a0bdb5c9000fcf8a568023bb30196e798d508b4329f05cc08538d18eca7fdd43b3980558b349ce75c4a7e5276da5e50c82545c041391441c973e419854869

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc source test"
JAVA_TESTING_FRAMEWORKS="junit-jupiter"
inherit java-pkg-2 java-pkg-simple junit5
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/${P}.tar.gz"
S="${WORKDIR}/${PN}-${P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
DEPEND="
>=virtual/jdk-1.8:*
test? (
>=dev-java/ant-1.10.15:0
>=dev-java/jaxb-api-4.0.2:4
>=dev-java/log4j-api-2.25.2:0
)
"
RDEPEND=">=virtual/jre-1.8:*"
JAVA_MAIN_CLASS="org.codehaus.plexus.classworlds.launcher.Launcher"
JAVA_SRC_DIR="src/main/java/"
JAVA_TEST_GENTOO_CLASSPATH="junit-5"
JAVA_TEST_RESOURCE_DIRS="src/test/test-data"
JAVA_TEST_SRC_DIR="src/test/java"
src_test(){
mkdir -p target/test-lib || die
java-pkg_jar-from --into target/test-lib ant ant.jar ant-1.10.14.jar
java-pkg_jar-from --into target/test-lib jaxb-api-4 jaxb-api.jar jakarta.xml.bind-api-4.0.2.jar
java-pkg_jar-from --into target/test-lib log4j-api log4j-api.jar log4j-api-2.23.1.jar
junit5_src_test
}