From c4f722d01cab12775651095e8c5ae8e8663c581b Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Sat, 27 Apr 2019 18:37:05 +0100 Subject: [PATCH] upgrade to nexus 3.16.1-02 --- 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 | 160 ++++++++++++------ 5 files changed, 110 insertions(+), 62 deletions(-) diff --git a/README.md b/README.md index 5727ba9..6334ef6 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ Nexus uses [OrientDB](https://en.wikipedia.org/wiki/OrientDB) as its database. T ```bash 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.14.0-04 # make sure you have the correct version here. +nexus_home=/opt/nexus/nexus-3.16.1-02 # 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 911b16d..0519410 100644 --- a/provision/provision-nexus.sh +++ b/provision/provision-nexus.sh @@ -32,17 +32,17 @@ install -d -o root -g nexus -m 750 /opt/nexus pushd /opt/nexus # see http://www.sonatype.com/download-oss-sonatype # see https://help.sonatype.com/display/NXRM3 -nexus_version=3.14.0-04 +nexus_version=3.16.1-02 nexus_home=/opt/nexus/nexus-$nexus_version nexus_tarball=nexus-$nexus_version-unix.tar.gz nexus_download_url=https://sonatype-download.global.ssl.fastly.net/nexus/3/$nexus_tarball -nexus_download_sha1=7e577cfd3c72bac488913d19dfad39e90019490f +nexus_download_sha1=e8494f9619e6214e03c1c0036f6f3e413bf8bcb8 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.14.0-04) and sonatype-work directories. +tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.16.1-02) 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 e7c0b14..2466010 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://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.14.0-04-unix.tar.gz \ + wget -qO- https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/3/nexus-3.16.1-02-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 f054ea6..e7af17a 100644 --- a/provision/provision-nexus/pom.xml +++ b/provision/provision-nexus/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT - 3.14.0-04 + 3.16.1-02 diff --git a/provision/provision-nexus/provision-nexus.iml b/provision/provision-nexus/provision-nexus.iml index 41d3d91..297ddbe 100644 --- a/provision/provision-nexus/provision-nexus.iml +++ b/provision/provision-nexus/provision-nexus.iml @@ -8,21 +8,80 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - - + + + @@ -44,9 +103,8 @@ - - - + + @@ -55,15 +113,15 @@ - - - + + + - - + + - + @@ -75,14 +133,14 @@ - - - - + + + + - - + + @@ -94,31 +152,19 @@ - - - - - + + + + + - - - - - - - - - - - - - + - - + + @@ -127,11 +173,11 @@ - - - - - + + + + + @@ -139,7 +185,7 @@ - + @@ -152,8 +198,10 @@ - - + + + + @@ -162,12 +210,12 @@ - - + + - + - +