Install this version:
emerge -a =dev-java/jsr311-api-1.1.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-java/jsr311-api-1.1.1
Or alternatively:
emerge --autounmask-write -a =dev-java/jsr311-api-1.1.1
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MAVEN_ID="javax.ws.rs:${PN}:${PV}"
JAVA_PKG_IUSE="doc source test binary"
JAVA_TESTING_FRAMEWORKS="pkgdiff"
inherit java-pkg-2 java-pkg-simple java-pkg-maven
DESCRIPTION="JAX-RS: Java API for RESTful Web Services"
HOMEPAGE="https://jcp.org/en/jsr/detail?id=311"
SRC_URI="
https://repo1.maven.org/maven2/javax/ws/rs/${PN}/${PV}/${P}-sources.jar
https://repo1.maven.org/maven2/javax/ws/rs/${PN}/${PV}/${P}.jar -> ${P}-bin.jar
"
LICENSE="CDDL"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
BDEPEND="
app-arch/unzip
"
RDEPEND="
>=virtual/jre-1.8:*
"
DEPEND="
>=virtual/jdk-1.8:*
"
S="${WORKDIR}"
JAVA_SRC_DIR="src/main/java"
JAVA_BINJAR_FILENAME="${P}-bin.jar"
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | jsr311-api-1.1.1-bin.jar | 46367 bytes | https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar |
| DIST | jsr311-api-1.1.1-sources.jar | 70022 bytes | https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1-sources.jar |