git: 42fc5985a32e - main - devel/nexus2-oss: update 2.14.20 -> 2.15.1

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Fri, 13 May 2022 21:08:00 UTC
The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42fc5985a32ed2d18c953ac5864a48c30c477b38

commit 42fc5985a32ed2d18c953ac5864a48c30c477b38
Author:     Michael Osipov <michael.osipov@siemens.com>
AuthorDate: 2022-05-13 21:04:17 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2022-05-13 21:04:17 +0000

    devel/nexus2-oss: update 2.14.20 -> 2.15.1
    
    PR:             263256
    Approved by:    Michael Osipov <michael.osipov@siemens.com> (maintainer)
---
 UPDATING                                           |  13 ++
 devel/nexus2-oss/Makefile                          |   8 +-
 devel/nexus2-oss/distinfo                          |   6 +-
 .../files/patch-conf_jetty-requestlog.xml          |   8 +-
 devel/nexus2-oss/files/patch-conf_nexus.properties |   6 +-
 devel/nexus2-oss/files/patch-conf_wrapper.conf     |  26 ++--
 devel/nexus2-oss/files/pkg-message.in              |   6 +-
 devel/nexus2-oss/pkg-descr                         |   2 +-
 devel/nexus2-oss/pkg-plist                         | 163 +++++++++++----------
 9 files changed, 135 insertions(+), 103 deletions(-)

diff --git a/UPDATING b/UPDATING
index 3ecb1a92e91c..bc65bf1b008d 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,19 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20220513:
+  AFFECTS: devel/nexus2-oss
+  AUTHOR: michael.osipov@siemens.com
+
+  Nexus 2.15.x introduces incompatible configuration changes. You
+  must review changes in ETCDIR/wrapper.conf and ETCDIR/jetty*.xml
+  with updated samples as well as NEXUS_WORKDIR/conf/logback-nexus.xml
+  with its origin from
+  DATADIR/nexus/WEB-INF/lib/nexus-core-VERSION.jar!/META-INF/log/logback-nexus.xml,
+  grant write access to files in ETCDIR since Nexus itself might
+  update files in place otherwise your instance will not properly
+  work after the update.
+
 20220510
   AFFECTS: sysutils/zrepl
   AUTHOR: monwarez@gmail.com
diff --git a/devel/nexus2-oss/Makefile b/devel/nexus2-oss/Makefile
index 3bc742f9f5da..542541de867e 100644
--- a/devel/nexus2-oss/Makefile
+++ b/devel/nexus2-oss/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	nexus2
-PORTVERSION=	2.14.20
+PORTVERSION=	2.15.1
 DISTVERSIONSUFFIX=	02
 CATEGORIES=	devel www java
 MASTER_SITES=	https://download.sonatype.com/nexus/oss/
@@ -24,7 +24,8 @@ NO_BUILD=	yes
 NO_TEST=	yes
 
 USE_JAVA=	yes
-JAVA_VERSION=	8+
+# Java 8 only, see https://issues.sonatype.org/browse/NEXUS-19183
+JAVA_VERSION=	8
 
 USE_RC_SUBR=	${PORTNAME}
 
@@ -56,7 +57,6 @@ SUB_FILES=	pkg-message
 SUB_LIST=	NEXUS_RC=${PORTNAME} \
 		DESC="${COMMENT}" \
 		VERSION=${PORTVERSION} \
-		BOOKVERSION=${PORTVERSION:C/..$//1} \
 		USER=${NEXUS_USER} \
 		GROUP=${NEXUS_GROUP} \
 		WRAPPER_CMD=${WRAPPER_CMD} \
@@ -72,7 +72,6 @@ PLIST_SUB=	USER=${NEXUS_USER} \
 
 # PATCH NOTES
 #   Several patches are necessary due to the following issues:
-#   * https://issues.sonatype.org/browse/NEXUS-10981
 #   * https://issues.sonatype.org/browse/NEXUS-10983
 #   * https://issues.sonatype.org/browse/NEXUS-10984
 
@@ -102,6 +101,7 @@ do-install:
 	@(cd ${STAGEDIR}${DATADIR} && ${MV} conf ${STAGEDIR}${ETCDIR})
 	@(cd ${STAGEDIR}${ETCDIR} \
 		&& ${FIND} . -type f -exec ${MV} '{}' '{}'.sample \;)
+	@${RLN} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${DATADIR}/conf
 	@${MKDIR} ${STAGEDIR}${NEXUS_RUNDIR}
 	@${MKDIR} ${STAGEDIR}${NEXUS_LOGDIR}
 	@${MKDIR} ${STAGEDIR}${NEXUS_WORKDIR}
diff --git a/devel/nexus2-oss/distinfo b/devel/nexus2-oss/distinfo
index a56e739dd40c..a3dd466035ff 100644
--- a/devel/nexus2-oss/distinfo
+++ b/devel/nexus2-oss/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610303650
-SHA256 (nexus-2.14.20-02-bundle.tar.gz) = 0d09b35265b06e0f1ecadb00f31d0f7e187a35b39fc34d762c0393918ccf19c8
-SIZE (nexus-2.14.20-02-bundle.tar.gz) = 83560634
+TIMESTAMP = 1649271807
+SHA256 (nexus-2.15.1-02-bundle.tar.gz) = 6d371cfdedd787c4ce26bf9cde5597d5c6e21a718368c08fb420f788b7085d18
+SIZE (nexus-2.15.1-02-bundle.tar.gz) = 89266215
diff --git a/devel/nexus2-oss/files/patch-conf_jetty-requestlog.xml b/devel/nexus2-oss/files/patch-conf_jetty-requestlog.xml
index 32df6bb3c3f1..207913243f07 100644
--- a/devel/nexus2-oss/files/patch-conf_jetty-requestlog.xml
+++ b/devel/nexus2-oss/files/patch-conf_jetty-requestlog.xml
@@ -1,9 +1,9 @@
---- conf/jetty-requestlog.xml.orig	2016-09-17 19:33:10 UTC
-+++ conf/jetty-requestlog.xml
-@@ -27,7 +27,7 @@
+--- conf/jetty-requestlog.xml	2022-03-23 19:24:46.000000000 +0100
++++ conf/jetty-requestlog.xml	2022-04-06 21:10:27.448020000 +0200
+@@ -22,7 +22,7 @@
          <New id="RequestLogHandler" class="org.eclipse.jetty.server.handler.RequestLogHandler">
            <Set name="requestLog">
-             <New id="LogbackRequestLog" class="ch.qos.logback.access.jetty.RequestLogImpl">
+             <New id="LogbackRequestLog" class="ch.qos.logback.access.jetty.RequestLogImpl2">
 -              <Set name="fileName"><Property name="bundleBasedir"/>/conf/logback-access.xml</Set>
 +              <Set name="fileName"><Property name="nexus-conf"/>/logback-access.xml</Set>
                <Set name="quiet">true</Set>
diff --git a/devel/nexus2-oss/files/patch-conf_nexus.properties b/devel/nexus2-oss/files/patch-conf_nexus.properties
index 0106fea00e1d..968333458276 100644
--- a/devel/nexus2-oss/files/patch-conf_nexus.properties
+++ b/devel/nexus2-oss/files/patch-conf_nexus.properties
@@ -1,6 +1,6 @@
---- conf/nexus.properties.orig	2016-09-17 19:33:10 UTC
-+++ conf/nexus.properties
-@@ -22,7 +22,9 @@ nexus-webapp=${bundleBasedir}/nexus
+--- conf/nexus.properties	2022-03-23 19:24:46.000000000 +0100
++++ conf/nexus.properties	2022-04-06 21:10:27.448170000 +0200
+@@ -18,7 +18,9 @@
  nexus-webapp-context-path=/nexus
  
  # Nexus section
diff --git a/devel/nexus2-oss/files/patch-conf_wrapper.conf b/devel/nexus2-oss/files/patch-conf_wrapper.conf
index 33dca2d91a1a..5175add7a8e8 100644
--- a/devel/nexus2-oss/files/patch-conf_wrapper.conf
+++ b/devel/nexus2-oss/files/patch-conf_wrapper.conf
@@ -1,6 +1,6 @@
---- conf/wrapper.conf.orig	2019-03-06 04:24:48 UTC
-+++ conf/wrapper.conf
-@@ -8,36 +8,32 @@
+--- conf/wrapper.conf	2022-03-23 19:24:46.000000000 +0100
++++ conf/wrapper.conf	2022-04-06 21:10:27.448234000 +0200
+@@ -8,38 +8,34 @@
  # keywords.
  
  # Set the JSW working directory (used as base for resolving relative paths)
@@ -32,23 +32,27 @@
  wrapper.java.additional.2=-Djava.net.preferIPv4Stack=true
 -wrapper.java.additional.3=-Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl"
 -wrapper.java.additional.3.stripquotes=TRUE
--#wrapper.java.additional.4=-Xdebug
--#wrapper.java.additional.5=-Xnoagent
--#wrapper.java.additional.6=-Djava.compiler=NONE
--#wrapper.java.additional.7=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
--#wrapper.java.additional.8=-XX:+HeapDumpOnOutOfMemoryError
+-wrapper.java.additional.4=-Djdk.tls.ephemeralDHKeySize=2048
+-#wrapper.java.additional.5=-Xdebug
+-#wrapper.java.additional.6=-Xnoagent
+-#wrapper.java.additional.7=-Djava.compiler=NONE
+-#wrapper.java.additional.8=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+-#wrapper.java.additional.9=-XX:+HeapDumpOnOutOfMemoryError
 +wrapper.java.additional.3=-Djava.util.prefs.userRoot=%%WORKDIR%%
 +wrapper.java.additional.4=-Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl"
-+wrapper.java.additional.5.stripquotes=TRUE
++wrapper.java.additional.4.stripquotes=TRUE
++wrapper.java.additional.5=-Djdk.tls.ephemeralDHKeySize=2048
  
 -wrapper.app.parameter.1=./conf/jetty.xml
 -wrapper.app.parameter.2=./conf/jetty-requestlog.xml
+-wrapper.app.parameter.3=./conf/jetty-http.xml
 +wrapper.app.parameter.1=%%ETCDIR%%/jetty.xml
 +wrapper.app.parameter.2=%%ETCDIR%%/jetty-requestlog.xml
++wrapper.app.parameter.3=%%ETCDIR%%/jetty-http.xml
  
  # Size Java memory, in MB (-Xms)
  wrapper.java.initmemory=256
-@@ -58,7 +54,7 @@ wrapper.restart.reload_configuration=TRUE
+@@ -60,7 +56,7 @@
  wrapper.on_exit.12=RESTART
  
  # Set up JSW logging
@@ -57,7 +61,7 @@
  wrapper.logfile.format=PM
  wrapper.logfile.loglevel=INFO
  wrapper.logfile.maxsize=10m
-@@ -67,128 +63,5 @@ wrapper.logfile.maxfiles=10
+@@ -69,128 +65,5 @@
  # Set up system logging (if needed, change to INFO or other valid values)
  wrapper.syslog.loglevel=NONE
  
diff --git a/devel/nexus2-oss/files/pkg-message.in b/devel/nexus2-oss/files/pkg-message.in
index 302d8fbf1eed..57ee0ab302aa 100644
--- a/devel/nexus2-oss/files/pkg-message.in
+++ b/devel/nexus2-oss/files/pkg-message.in
@@ -28,13 +28,13 @@ The work, log, and run directories are located at:
 
 Documentation
 =============
-Further documentation can be found in the official Nexus Book at:
-  https://books.sonatype.com/nexus-book/%%BOOKVERSION%%/reference/index.html
+Further documentation can be found at:
+  https://help.sonatype.com/repomanager2
 EOM
 },
 { type: remove
   message: <<EOM
-Consider deleting %%RUNDIR%%, %%LOGDIR%% and %%WORKDIR%% manually!"
+Consider deleting %%ETCDIR%%, %%RUNDIR%%, %%LOGDIR%% and %%WORKDIR%% manually!"
 EOM
 }
 ]
diff --git a/devel/nexus2-oss/pkg-descr b/devel/nexus2-oss/pkg-descr
index 04b6dab82947..68a48c0e13ed 100644
--- a/devel/nexus2-oss/pkg-descr
+++ b/devel/nexus2-oss/pkg-descr
@@ -19,4 +19,4 @@ Nexus Repository Manager OSS features:
 - REST services
 - Integration with m2eclipse
 
-WWW: https://www.sonatype.com/nexus-repository-oss
+WWW: https://www.sonatype.com/products/repository-oss
diff --git a/devel/nexus2-oss/pkg-plist b/devel/nexus2-oss/pkg-plist
index 178900c8b822..374e85d6eb0a 100644
--- a/devel/nexus2-oss/pkg-plist
+++ b/devel/nexus2-oss/pkg-plist
@@ -1,6 +1,7 @@
+@owner %%USER%%
 @group %%GROUP%%
 @mode 644
-@sample %%ETCDIR%%/jetty-http-redirect-to-https.xml.sample
+@sample %%ETCDIR%%/jetty-http.xml.sample
 @sample %%ETCDIR%%/jetty-https.xml.sample
 @sample %%ETCDIR%%/jetty-jmx.xml.sample
 @sample %%ETCDIR%%/jetty-requestlog.xml.sample
@@ -11,34 +12,36 @@
 @sample %%ETCDIR%%/wrapper.conf.sample
 @mode
 @group
+@owner
 %%DATADIR%%/LICENSE.txt
 %%DATADIR%%/NOTICE.txt
-%%DATADIR%%/lib/javax.servlet-3.0.0.v201112011016.jar
-%%DATADIR%%/lib/jetty-client-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-continuation-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-deploy-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-http-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-io-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-jmx-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-rewrite-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-security-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-server-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-servlet-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-util-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-webapp-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jetty-xml-8.1.16.v20140903.jar
-%%DATADIR%%/lib/jul-to-slf4j-1.7.25.jar
-%%DATADIR%%/lib/logback-access-1.2.3.jar
-%%DATADIR%%/lib/logback-classic-1.2.3.jar
-%%DATADIR%%/lib/logback-core-1.2.3.jar
-%%DATADIR%%/lib/metrics-core-2.2.0.jar
-%%DATADIR%%/lib/metrics-jetty-2.2.0.jar
-%%DATADIR%%/lib/metrics-logback-2.2.0.jar
+%%DATADIR%%/conf
+%%DATADIR%%/lib/javax.servlet-api-3.1.0.jar
+%%DATADIR%%/lib/jetty-continuation-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-deploy-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-http-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-io-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-jmx-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-rewrite-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-security-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-server-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-servlet-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-util-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-util-ajax-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-webapp-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jetty-xml-9.4.45.v20220203.jar
+%%DATADIR%%/lib/jul-to-slf4j-1.7.32.jar
+%%DATADIR%%/lib/logback-access-1.2.9.jar
+%%DATADIR%%/lib/logback-classic-1.2.9.jar
+%%DATADIR%%/lib/logback-core-1.2.9.jar
+%%DATADIR%%/lib/metrics-core-3.0.2.jar
+%%DATADIR%%/lib/metrics-jetty9-3.0.2.jar
+%%DATADIR%%/lib/metrics-logback-3.0.2.jar
 %%DATADIR%%/lib/nexus-bootstrap-%%VERSION%%.jar
 %%DATADIR%%/lib/plexus-interpolation-1.16.jar
-%%DATADIR%%/lib/slf4j-api-1.7.25.jar
+%%DATADIR%%/lib/slf4j-api-1.7.32.jar
 %%DATADIR%%/nexus/LICENSE.html
-%%DATADIR%%/nexus/WEB-INF/bundles/bcprov-jdk15to18-1.66.jar
+%%DATADIR%%/nexus/WEB-INF/bundles/bcprov-jdk15to18-1.69.jar
 %%DATADIR%%/nexus/WEB-INF/classes/META-INF/sisu/javax.inject.Named
 %%DATADIR%%/nexus/WEB-INF/classes/ehcache.xml
 %%DATADIR%%/nexus/WEB-INF/classes/nexus.properties
@@ -49,6 +52,9 @@
 %%DATADIR%%/nexus/WEB-INF/classes/org/sonatype/nexus/webapp/metrics/MetricsModule$1.class
 %%DATADIR%%/nexus/WEB-INF/classes/org/sonatype/nexus/webapp/metrics/MetricsModule$2.class
 %%DATADIR%%/nexus/WEB-INF/classes/org/sonatype/nexus/webapp/metrics/MetricsModule.class
+%%DATADIR%%/nexus/WEB-INF/classes/org/sonatype/nexus/webapp/metrics/NexusHealthCheckServlet.class
+%%DATADIR%%/nexus/WEB-INF/classes/org/sonatype/nexus/webapp/metrics/NexusMetricsServlet.class
+%%DATADIR%%/nexus/WEB-INF/classes/org/sonatype/nexus/webapp/metrics/NexusThreadDumpServlet.class
 %%DATADIR%%/nexus/WEB-INF/lib/UserAgentUtils-1.12.jar
 %%DATADIR%%/nexus/WEB-INF/lib/aether-api-1.13.1.jar
 %%DATADIR%%/nexus/WEB-INF/lib/aether-impl-1.13.1.jar
@@ -59,45 +65,51 @@
 %%DATADIR%%/nexus/WEB-INF/lib/base-configuration-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/lib/cdi-api-1.0.jar
 %%DATADIR%%/nexus/WEB-INF/lib/commons-beanutils-1.9.4.jar
-%%DATADIR%%/nexus/WEB-INF/lib/commons-codec-1.8.jar
+%%DATADIR%%/nexus/WEB-INF/lib/commons-codec-1.15.jar
 %%DATADIR%%/nexus/WEB-INF/lib/commons-collections-3.2.2.jar
 %%DATADIR%%/nexus/WEB-INF/lib/commons-io-2.8.0.jar
 %%DATADIR%%/nexus/WEB-INF/lib/commons-lang-2.6.jar
+%%DATADIR%%/nexus/WEB-INF/lib/commons-lang3-3.11.jar
 %%DATADIR%%/nexus/WEB-INF/lib/ehcache-core-2.5.1.jar
 %%DATADIR%%/nexus/WEB-INF/lib/encoder-1.2.2.jar
-%%DATADIR%%/nexus/WEB-INF/lib/goodies-common-1.9.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/goodies-eventbus-1.9.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/goodies-i18n-1.9.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/goodies-inject-1.9.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/goodies-lifecycle-1.9.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/goodies-template-1.9.1.jar
+%%DATADIR%%/nexus/WEB-INF/lib/goodies-common-1.9.2-02.jar
+%%DATADIR%%/nexus/WEB-INF/lib/goodies-eventbus-1.9.2-02.jar
+%%DATADIR%%/nexus/WEB-INF/lib/goodies-i18n-1.9.2-02.jar
+%%DATADIR%%/nexus/WEB-INF/lib/goodies-inject-1.9.2-02.jar
+%%DATADIR%%/nexus/WEB-INF/lib/goodies-lifecycle-1.9.2-02.jar
+%%DATADIR%%/nexus/WEB-INF/lib/goodies-template-1.9.2-02.jar
 %%DATADIR%%/nexus/WEB-INF/lib/gossip-bootstrap-1.8.jar
 %%DATADIR%%/nexus/WEB-INF/lib/gossip-support-1.8.jar
 %%DATADIR%%/nexus/WEB-INF/lib/guava-16.0.1.jar
 %%DATADIR%%/nexus/WEB-INF/lib/guice-assistedinject-3.2.6.jar
 %%DATADIR%%/nexus/WEB-INF/lib/guice-multibindings-3.2.6.jar
 %%DATADIR%%/nexus/WEB-INF/lib/guice-servlet-3.2.6.jar
-%%DATADIR%%/nexus/WEB-INF/lib/httpclient-4.3.6.jar
-%%DATADIR%%/nexus/WEB-INF/lib/httpcore-4.3.3.jar
+%%DATADIR%%/nexus/WEB-INF/lib/httpclient-4.5.13.jar
+%%DATADIR%%/nexus/WEB-INF/lib/httpcore-4.4.14.jar
 %%DATADIR%%/nexus/WEB-INF/lib/jackson-annotations-2.11.3.jar
 %%DATADIR%%/nexus/WEB-INF/lib/jackson-core-2.11.3.jar
 %%DATADIR%%/nexus/WEB-INF/lib/jackson-databind-2.11.3.jar
 %%DATADIR%%/nexus/WEB-INF/lib/javax.annotation-api-1.3.2.jar
 %%DATADIR%%/nexus/WEB-INF/lib/javax.inject-1.jar
 %%DATADIR%%/nexus/WEB-INF/lib/javax.mail-1.6.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar
+%%DATADIR%%/nexus/WEB-INF/lib/javax.servlet-api-3.1.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/jcl-over-slf4j-1.7.32.jar
 %%DATADIR%%/nexus/WEB-INF/lib/joda-time-2.2.jar
-%%DATADIR%%/nexus/WEB-INF/lib/jsoup-1.11.3.jar
+%%DATADIR%%/nexus/WEB-INF/lib/jsoup-1.14.2.jar
 %%DATADIR%%/nexus/WEB-INF/lib/jsr250-api-1.0.jar
 %%DATADIR%%/nexus/WEB-INF/lib/jsr305-2.0.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/log4j-over-slf4j-1.7.25.jar
+%%DATADIR%%/nexus/WEB-INF/lib/log4j-over-slf4j-1.7.32.jar
 %%DATADIR%%/nexus/WEB-INF/lib/maven-model-3.0.5.jar
 %%DATADIR%%/nexus/WEB-INF/lib/maven-repository-metadata-3.0.5.jar
-%%DATADIR%%/nexus/WEB-INF/lib/metrics-annotation-2.2.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/metrics-guice-2.2.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/metrics-httpclient-2.2.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/metrics-servlet-2.2.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/metrics-web-2.2.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-annotation-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-guice-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-healthchecks-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-httpclient-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-json-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-jvm-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-servlet-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/metrics-servlets-3.0.2.jar
+%%DATADIR%%/nexus/WEB-INF/lib/mxparser-1.2.2.jar
 %%DATADIR%%/nexus/WEB-INF/lib/nexus-configuration-model-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/lib/nexus-core-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/lib/nexus-ehcache-%%VERSION%%.jar
@@ -118,28 +130,27 @@
 %%DATADIR%%/nexus/WEB-INF/lib/plexus-component-annotations-1.5.5.jar
 %%DATADIR%%/nexus/WEB-INF/lib/plexus-interpolation-1.16.jar
 %%DATADIR%%/nexus/WEB-INF/lib/plexus-slf4j-logging-1.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/plexus-utils-3.0.24.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-cache-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-config-core-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-config-ogdl-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-core-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-crypto-cipher-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-crypto-core-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-crypto-hash-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-ehcache-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-event-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-guice-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-lang-1.6.0.jar
-%%DATADIR%%/nexus/WEB-INF/lib/shiro-web-1.6.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/plexus-utils-3.3.1.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-cache-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-config-core-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-config-ogdl-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-core-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-crypto-cipher-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-crypto-core-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-crypto-hash-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-ehcache-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-event-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-guice-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-lang-1.8.0.jar
+%%DATADIR%%/nexus/WEB-INF/lib/shiro-web-1.8.0.jar
 %%DATADIR%%/nexus/WEB-INF/lib/sisu-guice-3.2.6.jar
 %%DATADIR%%/nexus/WEB-INF/lib/sisu-mailer-1.10.jar
 %%DATADIR%%/nexus/WEB-INF/lib/sisu-resource-scanner-1.1.jar
 %%DATADIR%%/nexus/WEB-INF/lib/statemap-6.0.1-java.jar
 %%DATADIR%%/nexus/WEB-INF/lib/tika-core-1.22.jar
-%%DATADIR%%/nexus/WEB-INF/lib/velocity-1.7.jar
+%%DATADIR%%/nexus/WEB-INF/lib/velocity-engine-core-2.3.jar
 %%DATADIR%%/nexus/WEB-INF/lib/xmlpull-1.1.3.1.jar
-%%DATADIR%%/nexus/WEB-INF/lib/xpp3_min-1.1.4c.jar
-%%DATADIR%%/nexus/WEB-INF/lib/xstream-1.4.6-SONATYPE-03.jar
+%%DATADIR%%/nexus/WEB-INF/lib/xstream-1.4.19.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-analytics-plugin-%%VERSION%%/META-INF/MANIFEST.MF
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-analytics-plugin-%%VERSION%%/dependencies/analytics-client-1.0.0.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-analytics-plugin-%%VERSION%%/nexus-analytics-plugin-%%VERSION%%.jar
@@ -154,13 +165,14 @@
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-content-plugin-%%VERSION%%/META-INF/MANIFEST.MF
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-content-plugin-%%VERSION%%/nexus-content-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/META-INF/MANIFEST.MF
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/bcpg-jdk15to18-1.66.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/bcpkix-jdk15to18-1.66.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/bcprov-jdk15to18-1.66.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/goodies-crypto-1.9.1.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/bcpg-jdk15to18-1.69.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/bcpkix-jdk15to18-1.69.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/bcprov-jdk15to18-1.69.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/bcutil-jdk15to18-1.69.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/dependencies/goodies-crypto-1.9.2-02.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-crypto-plugin-%%VERSION%%/nexus-crypto-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-groovy-plugin-%%VERSION%%/META-INF/MANIFEST.MF
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-groovy-plugin-%%VERSION%%/dependencies/groovy-all-2.4.15.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-groovy-plugin-%%VERSION%%/dependencies/groovy-all-2.4.21.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-groovy-plugin-%%VERSION%%/nexus-groovy-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-h2-plugin-%%VERSION%%/META-INF/MANIFEST.MF
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-h2-plugin-%%VERSION%%/dependencies/h2-1.3.175.jar
@@ -176,11 +188,11 @@
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-indexer-lucene-plugin-%%VERSION%%/dependencies/nexus-indexer-lucene-model-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-indexer-lucene-plugin-%%VERSION%%/nexus-indexer-lucene-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/META-INF/MANIFEST.MF
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/com.sonatype.clm.dto.model-1.5.7.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-rm-common-1.33.0-04.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-scanner-core-2.4.5-01.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-scanner-model-2.6.1-01.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-scanner-model-io-2.4.5-01.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/com.sonatype.clm.dto.model-1.15.0-01.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-rm-common-1.68.0-01.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-scanner-core-2.18.1-01.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-scanner-model-2.18.1-01.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/insight-scanner-model-io-2.18.1-01.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/nexus-healthcheck-base-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/nexus-healthcheck-model-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-iq-repository-oss-plugin-%%VERSION%%/dependencies/nexus-iq-repository-model-%%VERSION%%.jar
@@ -218,7 +230,7 @@
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-migrationagent-plugin-%%VERSION%%/dependencies/jackson-dataformat-smile-2.11.3.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-migrationagent-plugin-%%VERSION%%/nexus-migrationagent-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-npm-repository-plugin-%%VERSION%%/META-INF/MANIFEST.MF
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-npm-repository-plugin-%%VERSION%%/dependencies/commons-compress-1.19.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-npm-repository-plugin-%%VERSION%%/dependencies/commons-compress-1.21.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-npm-repository-plugin-%%VERSION%%/dependencies/jackson-dataformat-smile-2.11.3.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-npm-repository-plugin-%%VERSION%%/nexus-npm-repository-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-nuget-plugin-%%VERSION%%/META-INF/MANIFEST.MF
@@ -227,7 +239,7 @@
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-nuget-plugin-%%VERSION%%/nexus-nuget-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-orient-plugin-%%VERSION%%/META-INF/MANIFEST.MF
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-orient-plugin-%%VERSION%%/dependencies/concurrentlinkedhashmap-lru-1.4.1.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-orient-plugin-%%VERSION%%/dependencies/jna-4.0.0.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-orient-plugin-%%VERSION%%/dependencies/jna-5.10.0.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-orient-plugin-%%VERSION%%/dependencies/jna-platform-4.0.0.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-orient-plugin-%%VERSION%%/dependencies/orientdb-client-2.1.14.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-orient-plugin-%%VERSION%%/dependencies/orientdb-core-2.1.14.jar
@@ -241,12 +253,13 @@
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/META-INF/MANIFEST.MF
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/com.noelios.restlet-1.1.6-SONATYPE-5348-V8.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V8.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/commons-fileupload-1.3.2.SONATYPE.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/commons-fileupload-1.4.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/enunciate-core-1.26.2.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/javax.ws.rs-1.0.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/json-20211205.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/nexus-restlet-bridge-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/nexus-restlet1x-model-%%VERSION%%.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/org.json-2.0-NEXUS-3758.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/org.json-2.0.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/org.restlet-1.1.6-SONATYPE-5348-V8.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/org.restlet.ext.fileupload-1.1.6-SONATYPE-5348-V8.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-restlet1x-plugin-%%VERSION%%/dependencies/org.restlet.ext.jaxrs-1.1.6-SONATYPE-5348-V8.jar
@@ -307,10 +320,11 @@
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-site-repository-plugin-%%VERSION%%/META-INF/MANIFEST.MF
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-site-repository-plugin-%%VERSION%%/nexus-site-repository-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/META-INF/MANIFEST.MF
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/jdom-1.0.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/jdom2-2.0.6.1.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/lucene-core-3.6.2.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/protobuf-java-2.3.0.jar
-%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/rome-0.9.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/protobuf-java-3.19.4.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/rome-1.16.0.jar
+%%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/dependencies/rome-utils-1.16.0.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-timeline-plugin-%%VERSION%%/nexus-timeline-plugin-%%VERSION%%.jar
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-ui-extjs3-plugin-%%VERSION%%/META-INF/MANIFEST.MF
 %%DATADIR%%/nexus/WEB-INF/plugin-repository/nexus-ui-extjs3-plugin-%%VERSION%%/nexus-ui-extjs3-plugin-%%VERSION%%.jar
@@ -328,6 +342,7 @@
 %%DATADIR%%/nexus/images/NexusRepoMngr_horiz_white+color@2x.png
 %%DATADIR%%/nexus/images/NexusRepoMngr_withSonatype@3x.png
 %%DATADIR%%/nexus/robots.txt
+@dir(%%USER%%,%%GROUP%%,755) %%ETCDIR%%
 @dir(%%USER%%,%%GROUP%%,750) %%RUNDIR%%
 @dir(%%USER%%,%%GROUP%%,750) %%LOGDIR%%
 @dir(%%USER%%,%%GROUP%%,750) %%WORKDIR%%