From cc2017d4798a52f6a3fed9e05e9da1b427a3eb81 Mon Sep 17 00:00:00 2001 From: Dan Rollo Date: Tue, 23 Jul 2019 18:30:38 -0400 Subject: [PATCH] build against Nexus Repository Manager 3.16.2-01, as requested in PR #42 --- Dockerfile | 10 +++++----- README.md | 15 ++++++++------- pom.xml | 4 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16cf114f..adc47a65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,17 @@ -ARG NEXUS_VERSION=3.15.2 +ARG NEXUS_VERSION=3.16.2 FROM maven:3-jdk-8-alpine AS build -ARG NEXUS_VERSION=3.15.2 +ARG NEXUS_VERSION=3.16.2 ARG NEXUS_BUILD=01 COPY . /nexus-repository-helm/ -RUN cd /nexus-repository-helm/; sed -i "s/3.15.2-01/${NEXUS_VERSION}-${NEXUS_BUILD}/g" pom.xml; \ +RUN cd /nexus-repository-helm/; sed -i "s/3.16.2-01/${NEXUS_VERSION}-${NEXUS_BUILD}/g" pom.xml; \ mvn clean package; FROM sonatype/nexus3:$NEXUS_VERSION -ARG NEXUS_VERSION=3.15.2 +ARG NEXUS_VERSION=3.16.2 ARG NEXUS_BUILD=01 -ARG HELM_VERSION=0.0.8 +ARG HELM_VERSION=0.0.9 ARG COMP_VERSION=1.18 ARG TARGET_DIR=/opt/sonatype/nexus/system/org/sonatype/nexus/plugins/nexus-repository-helm/${HELM_VERSION}/ USER root diff --git a/README.md b/README.md index 57d07ae1..40ff9297 100644 --- a/README.md +++ b/README.md @@ -52,11 +52,11 @@ If everything checks out, the bundle for Helm should be available in the `target #### Build with Docker -`docker build -t nexus-repository-helm:0.0.8 .` +`docker build -t nexus-repository-helm:0.0.9 .` #### Run as a Docker container -`docker run -d -p 8081:8081 --name nexus nexus-repository-helm:0.0.8` +`docker run -d -p 8081:8081 --name nexus nexus-repository-helm:0.0.9` For further information like how to persist volumes check out [the GitHub repo for our official image](https://github.com/sonatype/docker-nexus3). @@ -75,6 +75,7 @@ The table below outlines what version of Nexus Repository the plugin was built a | v0.0.6 | 3.13.0-01 | | v0.0.7 | 3.14.0-04 | | v0.0.8 | 3.15.2-01 | +| v0.0.9 | 3.16.2-01 | If a new version of Nexus Repository is released and the plugin needs changes, a new release will be made, and this table will be updated to indicate which version of Nexus Repository it will function against. This is done on a time @@ -125,7 +126,7 @@ good installation path if you are just testing or doing development on the plugi # sudo su - nexus $ cd /bin $ ./nexus run - > bundle:install file:///tmp/nexus-repository-helm-0.0.8.jar + > bundle:install file:///tmp/nexus-repository-helm-0.0.9.jar > bundle:list ``` (look for org.sonatype.nexus.plugins:nexus-repository-helm ID, should be the last one) @@ -137,7 +138,7 @@ good installation path if you are just testing or doing development on the plugi For more permanent installs of the nexus-repository-helm plugin, follow these instructions: -* Copy the bundle (nexus-repository-helm-0.0.8.jar) into /deploy +* Copy the bundle (nexus-repository-helm-0.0.9.jar) into /deploy This will cause the plugin to be loaded with each restart of Nexus Repository. As well, this folder is monitored by Nexus Repository and the plugin should load within 60 seconds of being copied there if Nexus Repository @@ -147,7 +148,7 @@ is running. You will still need to start the bundle using the karaf commands men If you are trying to use the Helm plugin permanently, it likely makes more sense to do the following: -* Copy the bundle into `/system/org/sonatype/nexus/plugins/nexus-repository-helm/0.0.8/nexus-repository-helm-0.0.8.jar` +* Copy the bundle into `/system/org/sonatype/nexus/plugins/nexus-repository-helm/0.0.9/nexus-repository-helm-0.0.9.jar` * Make the following additions marked with + to `/system/org/sonatype/nexus/assemblies/nexus-core-feature/3.x.y/nexus-core-feature-3.x.y-features.xml` ``` @@ -158,9 +159,9 @@ If you are trying to use the Helm plugin permanently, it likely makes more sense ``` And ``` - + + + +
org.sonatype.nexus.plugins:nexus-repository-helm
- + mvn:org.sonatype.nexus.plugins/nexus-repository-helm/0.0.8 + + mvn:org.sonatype.nexus.plugins/nexus-repository-helm/0.0.9 +
``` diff --git a/pom.xml b/pom.xml index 5c64f644..4a07225b 100644 --- a/pom.xml +++ b/pom.xml @@ -19,12 +19,12 @@ org.sonatype.nexus.plugins nexus-plugins - 3.15.2-01 + 3.16.2-01 nexus-repository-helm ${project.groupId}:${project.artifactId} - 0.0.8 + 0.0.9 2018 bundle