Install this version:
emerge -a =dev-java/findbugs-annotations-4.10.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-java/findbugs-annotations-4.10.3
Or alternatively:
emerge --autounmask-write -a =dev-java/findbugs-annotations-4.10.3
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Annotations the SpotBugs tool supports"
HOMEPAGE="https://spotbugs.github.io"
SRC_URI="https://github.com/spotbugs/spotbugs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/spotbugs-${PV}/spotbugs-annotations"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
CP_DEPEND="
>=dev-java/jsr305-3.0.2:0
"
DEPEND="
${CP_DEPEND}
>=virtual/jdk-1.8:*
"
RDEPEND="
${CP_DEPEND}
>=virtual/jre-1.8:*
"
>=dev-java/jsr305-3.0.2:0 >=virtual/jdk-1.8:*
>=dev-java/jsr305-3.0.2:0 >=virtual/jre-1.8:*
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | findbugs-annotations-4.10.3.tar.gz | 4735712 bytes | https://github.com/spotbugs/spotbugs/archive/refs/tags/4.10.3.tar.gz |