diff --git a/README.md b/README.md index c291cf8..51f7d57 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.22.0-02 # make sure you have the correct version here. +nexus_home=/opt/nexus/nexus-3.23.0-03 # 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 01f0870..570ce4f 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.22.0-02 +nexus_version=3.23.0-03 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=cccf70509def19c1b0db644a62cc57922f9f86b7 +nexus_download_url=https://download.sonatype.com/nexus/3/$nexus_tarball +nexus_download_sha1=8298bd6db3b0f4d083942343a89f47cae7d791de 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.22.0-02) and sonatype-work directories. +tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.23.0-03) 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 c839be7..9c0d9f7 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/repository/repositoryManager/3/nexus-3.22.0-02-unix.tar.gz \ + wget -qO- https://download.sonatype.com/nexus/3/nexus-3.23.0-03-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 4a57606..c06158a 100644 --- a/provision/provision-nexus/pom.xml +++ b/provision/provision-nexus/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT - 3.22.0-02 + 3.23.0-03 diff --git a/provision/provision-nexus/provision-nexus.iml b/provision/provision-nexus/provision-nexus.iml index 3540551..5876cef 100644 --- a/provision/provision-nexus/provision-nexus.iml +++ b/provision/provision-nexus/provision-nexus.iml @@ -8,22 +8,35 @@ - - + + - - + + + + + + + + + + + + - - - - - - + + + + + + + + + @@ -44,8 +57,8 @@ - - + + @@ -54,19 +67,18 @@ - - - - - - + + + + + - + - + @@ -84,16 +96,14 @@ - - - - - - + + + + - + @@ -105,21 +115,21 @@ - - + + - - + + - - - + + + - - + + @@ -128,18 +138,8 @@ - - - - - - - - - - - - + + @@ -155,7 +155,7 @@ - + @@ -164,13 +164,12 @@ - - - + + - + - +