diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-06-19 13:21:49 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-09-10 18:36:10 +0200 |
commit | 0998a34106c17b8113551529d534b6dc76350a46 (patch) | |
tree | 57218ed527ce7833b6a91df2fd89f01fdf3cbf87 /dev-java/jaxrs-api | |
parent | dev-java/cdi-api: revival, add 4.0.1 (diff) | |
download | gentoo-0998a34106c17b8113551529d534b6dc76350a46.tar.gz gentoo-0998a34106c17b8113551529d534b6dc76350a46.tar.bz2 gentoo-0998a34106c17b8113551529d534b6dc76350a46.zip |
dev-java/jaxrs-api: new package, add 2.1.6
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/jaxrs-api')
-rw-r--r-- | dev-java/jaxrs-api/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild | 59 | ||||
-rw-r--r-- | dev-java/jaxrs-api/metadata.xml | 7 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/jaxrs-api/Manifest b/dev-java/jaxrs-api/Manifest new file mode 100644 index 000000000000..5a9949619d25 --- /dev/null +++ b/dev-java/jaxrs-api/Manifest @@ -0,0 +1 @@ +DIST jaxrs-api-2.1.6.tar.gz 225315 BLAKE2B bf4f12eadbee605e1141c72ee2a51c64548f3bed2846d1605758bcd994633b1a8f23b2054e0b71503583096a7234f42d12a389b9da031fa8b8c6b313cad84d98 SHA512 b5032ea9905e31b4120761125999a50e6d30229e7174e4a5e087f263030b25c157384a6d31796a90c590fda413e0e66220ec77c809a22fac8827ffa971c4aae7 diff --git a/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild b/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild new file mode 100644 index 000000000000..6cbcedada079 --- /dev/null +++ b/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom jaxrs-api/pom.xml --download-uri https://github.com/jakartaee/rest/archive/2.1.6.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxrs-api-2.1.6.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="jakarta.ws.rs:jakarta.ws.rs-api:2.1.6" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Jakarta RESTful Web Services API" +HOMEPAGE="https://github.com/jakartaee/rest" +SRC_URI="https://github.com/jakartaee/rest/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="EPL-2.0 GPL-2-with-classpath-exception" +SLOT="0" +KEYWORDS="~amd64" + +# Compile dependencies +# POM: ${PN}/pom.xml +# jakarta.activation:jakarta.activation-api:1.2.1 -> >=dev-java/jakarta-activation-api-1.2.2:1 +# jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 -> >=dev-java/jaxb-api-2.3.3:2 +# POM: ${PN}/pom.xml +# test? junit:junit:4.11 -> >=dev-java/junit-4.13.2:4 +# test? org.glassfish.jaxb:jaxb-runtime:2.3.2 -> !!!groupId-not-found!!! +# test? org.mockito:mockito-core:2.22.0 -> >=dev-java/mockito-4.4.0:4 + +DEPEND=" + >=virtual/jdk-11:* + dev-java/jakarta-activation-api:1 + dev-java/jaxb-api:2 + test? ( + dev-java/jaxb-runtime:4 + dev-java/mockito:4 + ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( ../{CONTRIBUTING,NOTICE,README}.md ) + +S="${WORKDIR}/rest-${PV}/${PN}" + +JAVA_CLASSPATH_EXTRA="jakarta-activation-api-1,jaxb-api-2" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="jaxb-runtime-4,junit-4,mockito-4" +JAVA_TEST_SRC_DIR="src/test/java" + +# "mvn test" -> Tests run: 34, Failures: 0, Errors: 0, Skipped: 3 +# 1) testSerializationOfJaxbLink(javax.ws.rs.core.JaxbLinkTest) +# javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath. +JAVA_TEST_EXCLUDES=( + javax.ws.rs.core.JaxbLinkTest +) diff --git a/dev-java/jaxrs-api/metadata.xml b/dev-java/jaxrs-api/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/jaxrs-api/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> +</pkgmetadata> |