From 0d64a18908e353267604ea022afd5acb9d6efc4f Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Sat, 4 Jun 2022 18:02:39 +0100 Subject: [PATCH] upgrade to nexus 3.39.0-01 --- README.md | 2 +- provision/provision-nexus.sh | 6 +- provision/provision-nexus/Makefile | 2 +- provision/provision-nexus/pom.xml | 2 +- provision/provision-nexus/provision-nexus.iml | 125 +++++++++--------- 5 files changed, 69 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index 1d067b3..6f8ff20 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Nexus uses [OrientDB](https://en.wikipedia.org/wiki/OrientDB) as its database. T sudo su -l # switch to the root user. systemctl stop nexus # make sure nexus is not running while you use the database. su -s /bin/bash nexus # switch to the nexus user. -nexus_home=/opt/nexus/nexus-3.38.0-01 # make sure you have the correct version here. +nexus_home=/opt/nexus/nexus-3.39.0-01 # make sure you have the correct version here. nexus_data=$nexus_home/../sonatype-work/nexus3 function orientdb-console { java -jar $nexus_home/lib/support/nexus-orient-console.jar $* diff --git a/provision/provision-nexus.sh b/provision/provision-nexus.sh index 078245b..b8e77be 100644 --- a/provision/provision-nexus.sh +++ b/provision/provision-nexus.sh @@ -34,17 +34,17 @@ pushd /opt/nexus # see https://www.sonatype.com/download-oss-sonatype # see https://help.sonatype.com/repomanager3/product-information/download/download-archives---repository-manager-3 # see https://help.sonatype.com/repomanager3 -nexus_version=3.38.0-01 +nexus_version=3.39.0-01 nexus_home=/opt/nexus/nexus-$nexus_version nexus_tarball=nexus-$nexus_version-unix.tar.gz nexus_download_url=https://download.sonatype.com/nexus/3/$nexus_tarball -nexus_download_sha1=3559a4e6189ca38b40a6eadd9df79cc97fb9f1b3 +nexus_download_sha1=de9af5330bff966b612748528f426c94a54e073c wget -q $nexus_download_url if [ "$(sha1sum $nexus_tarball | awk '{print $1}')" != "$nexus_download_sha1" ]; then echo "downloaded $nexus_download_url failed the checksum verification" exit 1 fi -tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.38.0-01) and sonatype-work directories. +tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.39.0-01) and sonatype-work directories. rm $nexus_tarball 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 sonatype-work/nexus3/etc diff --git a/provision/provision-nexus/Makefile b/provision/provision-nexus/Makefile index d04133b..6ddb7ea 100644 --- a/provision/provision-nexus/Makefile +++ b/provision/provision-nexus/Makefile @@ -17,7 +17,7 @@ binaries: binaries-download binaries-download: mkdir -p binaries - wget -qO- https://download.sonatype.com/nexus/3/nexus-3.38.0-01-unix.tar.gz \ + wget -qO- https://download.sonatype.com/nexus/3/nexus-3.39.0-01-unix.tar.gz \ | tar xzf - --strip-components 1 -C binaries clean: diff --git a/provision/provision-nexus/pom.xml b/provision/provision-nexus/pom.xml index 48f7a79..1b721d6 100644 --- a/provision/provision-nexus/pom.xml +++ b/provision/provision-nexus/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT - 3.38.0-01 + 3.39.0-01 diff --git a/provision/provision-nexus/provision-nexus.iml b/provision/provision-nexus/provision-nexus.iml index f472a1d..858beab 100644 --- a/provision/provision-nexus/provision-nexus.iml +++ b/provision/provision-nexus/provision-nexus.iml @@ -8,18 +8,18 @@ - - + + - - - - - - + + + + + + @@ -27,20 +27,20 @@ - + - + - + - - - - + + + + @@ -52,18 +52,18 @@ - + - + - - + + - - + + @@ -72,20 +72,21 @@ - + - - - - - + + + + + - - - - - + + + + + + @@ -96,46 +97,46 @@ - - - - + + + + - - - - + + + + - - - - - - + + + + + + - - + + - - - + + + - - - - + + + + - - + + @@ -154,7 +155,7 @@ - + @@ -163,12 +164,12 @@ - - + + - + - +