From 793b4e458dec49d97e39b41b0c20c5d7982ad300 Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Mon, 26 Apr 2021 06:07:25 +0100 Subject: [PATCH] upgrade to nexus-3.30.1-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 | 119 +++++++++--------- 5 files changed, 65 insertions(+), 66 deletions(-) diff --git a/README.md b/README.md index ff83fd8..8d2b4d6 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.29.2-02 # make sure you have the correct version here. +nexus_home=/opt/nexus/nexus-3.30.1-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 d1a6e77..e65da68 100644 --- a/provision/provision-nexus.sh +++ b/provision/provision-nexus.sh @@ -33,17 +33,17 @@ pushd /opt/nexus # see https://www.sonatype.com/download-oss-sonatype # see https://help.sonatype.com/repomanager3/download/download-archives---repository-manager-3 # see https://help.sonatype.com/display/NXRM3 -nexus_version=3.29.2-02 +nexus_version=3.30.1-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=8e29ebdfea3e66723372a23f321233c6fa39f870 +nexus_download_sha1=5f61d7790cee7f9af5edb814eac7bece16a4652d 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.29.2-02) and sonatype-work directories. +tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.30.1-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 6135cca..2878cb5 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.29.2-02-unix.tar.gz \ + wget -qO- https://download.sonatype.com/nexus/3/nexus-3.30.1-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 068a332..d025dcc 100644 --- a/provision/provision-nexus/pom.xml +++ b/provision/provision-nexus/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT - 3.29.2-02 + 3.30.1-01 diff --git a/provision/provision-nexus/provision-nexus.iml b/provision/provision-nexus/provision-nexus.iml index b48562f..bcd9b3d 100644 --- a/provision/provision-nexus/provision-nexus.iml +++ b/provision/provision-nexus/provision-nexus.iml @@ -8,18 +8,18 @@ - - + + - - - - + + + + - + @@ -27,21 +27,20 @@ - + - + - + - - - - - + + + + @@ -60,24 +59,24 @@ - - + + - - + + - - + + - - - - - + + + + + @@ -87,11 +86,11 @@ - + - + @@ -102,14 +101,14 @@ - - - - + + + + - - - + + + @@ -118,48 +117,48 @@ - - + + - - + + + - - - + + + - - - - - - + + + + + - - - - + + + + - - + + - + - + @@ -168,12 +167,12 @@ - - + + - + - +