upgrade to nexus 3.96.1-01

This commit is contained in:
Rui Lopes
2026-09-14 06:14:14 +00:00
parent 9a758d3119
commit b164c30061
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ You can also access the database cli shell as:
sudo -i # switch to the root user. sudo -i # switch to the root user.
systemctl stop nexus # make sure nexus is not running while you use the database. systemctl stop nexus # make sure nexus is not running while you use the database.
su -s /bin/bash nexus # switch to the nexus user. su -s /bin/bash nexus # switch to the nexus user.
nexus_home=/opt/nexus/nexus-3.96.0-09 # make sure you have the correct version here. nexus_home=/opt/nexus/nexus-3.96.1-01 # make sure you have the correct version here.
nexus_data="$(realpath $nexus_home/../sonatype-work/nexus3)" nexus_data="$(realpath $nexus_home/../sonatype-work/nexus3)"
install -d $nexus_data/../tmp install -d $nexus_data/../tmp
rm -f $nexus_data/../tmp/h2-*.jar rm -f $nexus_data/../tmp/h2-*.jar
+3 -3
View File
@@ -11,7 +11,7 @@ config_authentication='nexus'
# install java. # install java.
# see https://help.sonatype.com/en/sonatype-nexus-repository-system-requirements.html#SystemRequirements-Java # see https://help.sonatype.com/en/sonatype-nexus-repository-system-requirements.html#supported-java-versions
apt-get install -y openjdk-21-jre-headless apt-get install -y openjdk-21-jre-headless
apt-get install -y gnupg apt-get install -y gnupg
@@ -35,12 +35,12 @@ pushd /opt/nexus
# see https://help.sonatype.com/en/download-archives---repository-manager-3.html # see https://help.sonatype.com/en/download-archives---repository-manager-3.html
# see https://help.sonatype.com/en/release-notes.html # see https://help.sonatype.com/en/release-notes.html
# see https://help.sonatype.com/en/sonatype-nexus-repository.html # see https://help.sonatype.com/en/sonatype-nexus-repository.html
nexus_version=3.96.0-09 nexus_version=3.96.1-01
nexus_home=/opt/nexus/nexus-$nexus_version nexus_home=/opt/nexus/nexus-$nexus_version
nexus_tarball=nexus-$nexus_version-linux-x86_64.tar.gz nexus_tarball=nexus-$nexus_version-linux-x86_64.tar.gz
nexus_download_url=https://download.sonatype.com/nexus/3/$nexus_tarball nexus_download_url=https://download.sonatype.com/nexus/3/$nexus_tarball
wget -q $nexus_download_url wget -q $nexus_download_url
tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.96.0-09) and sonatype-work directories. tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.96.1-01) and sonatype-work directories.
rm $nexus_tarball rm $nexus_tarball
sed -i -E 's,#!.+,#!/usr/bin/bash,g' "$nexus_home/bin/nexus" sed -i -E 's,#!.+,#!/usr/bin/bash,g' "$nexus_home/bin/nexus"
install -d -o nexus -g nexus -m 700 .java # java preferences are saved here (the default java.util.prefs.userRoot preference). install -d -o nexus -g nexus -m 700 .java # java preferences are saved here (the default java.util.prefs.userRoot preference).
+1 -1
View File
@@ -17,7 +17,7 @@ binaries: binaries-download
binaries-download: binaries-download:
mkdir -p binaries mkdir -p binaries
wget -qO- https://download.sonatype.com/nexus/3/nexus-3.96.0-09-unix.tar.gz \ wget -qO- https://download.sonatype.com/nexus/3/nexus-3.96.1-01-unix.tar.gz \
| tar xzf - --strip-components 1 -C binaries | tar xzf - --strip-components 1 -C binaries
clean: clean:
+1 -1
View File
@@ -8,7 +8,7 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<properties> <properties>
<nx-version>3.96.0-09</nx-version> <nx-version>3.96.1-01</nx-version>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>