upgrade to nexus 3.82.0-08
This commit is contained in:
parent
1da6f4380f
commit
8c46c08622
|
|
@ -155,7 +155,7 @@ You can also access the database cli shell as:
|
|||
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.81.1-01 # make sure you have the correct version here.
|
||||
nexus_home=/opt/nexus/nexus-3.82.0-08 # make sure you have the correct version here.
|
||||
nexus_data="$(realpath $nexus_home/../sonatype-work/nexus3)"
|
||||
function h2-shell {
|
||||
java \
|
||||
|
|
|
|||
|
|
@ -35,12 +35,12 @@ pushd /opt/nexus
|
|||
# see https://help.sonatype.com/repomanager3/product-information/download/download-archives---repository-manager-3
|
||||
# see https://help.sonatype.com/repomanager3/product-information/release-notes
|
||||
# see https://help.sonatype.com/repomanager3
|
||||
nexus_version=3.81.1-01
|
||||
nexus_version=3.82.0-08
|
||||
nexus_home=/opt/nexus/nexus-$nexus_version
|
||||
nexus_tarball=nexus-$nexus_version-linux-x86_64.tar.gz
|
||||
nexus_download_url=https://download.sonatype.com/nexus/3/$nexus_tarball
|
||||
wget -q $nexus_download_url
|
||||
tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.81.1-01) and sonatype-work directories.
|
||||
tar xf $nexus_tarball # NB this creates the $nexus_home (e.g. nexus-3.82.0-08) 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
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ binaries: binaries-download
|
|||
|
||||
binaries-download:
|
||||
mkdir -p binaries
|
||||
wget -qO- https://download.sonatype.com/nexus/3/nexus-3.81.1-01-unix.tar.gz \
|
||||
wget -qO- https://download.sonatype.com/nexus/3/nexus-3.82.0-08-unix.tar.gz \
|
||||
| tar xzf - --strip-components 1 -C binaries
|
||||
|
||||
clean:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<nx-version>3.81.1-01</nx-version>
|
||||
<nx-version>3.82.0-08</nx-version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
|||
Loading…
Reference in New Issue