git: 5988586118a4 - main - security/owasp-dependency-check: pin to jdk8 and deprecate

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 06 Jan 2026 12:35:07 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5988586118a47bd6bf7fabbfbe1fa63bcbbea595

commit 5988586118a47bd6bf7fabbfbe1fa63bcbbea595
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-01-06 12:32:53 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-01-06 12:34:51 +0000

    security/owasp-dependency-check: pin to jdk8 and deprecate
    
    This port is 9 major versions and almost 8 years behind on upstream.
    No maintainer.
    No users in the ports tree.
    Does not compile with jdk11+.
    
    PR:     272855
    Approved-by:    no maintainer
---
 security/owasp-dependency-check/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/security/owasp-dependency-check/Makefile b/security/owasp-dependency-check/Makefile
index 0c37dc26ead0..2bbf67b3aaac 100644
--- a/security/owasp-dependency-check/Makefile
+++ b/security/owasp-dependency-check/Makefile
@@ -5,7 +5,7 @@
 PORTNAME=	owasp-dependency-check
 PORTVERSION=	3.1.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security java
 MASTER_SITES=	LOCAL/pi/:source2
 DISTFILES+=	owasp-dependency-check-${PORTVERSION}-maven-repository.tar.gz:source2
@@ -17,6 +17,8 @@ WWW=		https://jeremylong.github.io/DependencyCheck \
 		https://jeremylong.github.io/DependencyCheck/dependency-check-cli/
 
 LICENSE=	APACHE20
+DEPRECATED=	This port is 9 major versions and almost 8 years behind on upstream. No maintainer. No users in the ports tree. Does not compile with jdk11+.
+EXPIRATION_DATE=	2026-02-28
 
 BUILD_DEPENDS=	maven>0:devel/maven
 
@@ -24,6 +26,7 @@ USES=		java
 USE_GITHUB=	yes
 GH_ACCOUNT=	jeremylong
 GH_PROJECT=	DependencyCheck
+JAVA_VERSION=	8
 
 NO_ARCH=	yes
 SUB_FILES=	owasp-dependency-check