Skip to content

Commit

Permalink
Merge pull request #76 from pingunaut/75-nexus316
Browse files Browse the repository at this point in the history
add support for nexus-3.16.0 #75
  • Loading branch information
martinspielmann authored Apr 15, 2019
2 parents 3c9c59f + 4f6eb2c commit d825d09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ It works with Nexus 3.x and Crowd 2.x and 3.x

##### Directory naming convention:
When Nexus gets downloaded and unzipped, there are typically two directories created:
* nexus-3.15.2-01
* nexus-3.16.0-01
* sonatype-work/nexus3

To avoid confusion, the conventions of the Sonatype reference will be used in the following descriptions:
* nexus-3.15.2-01 will be referred to as **$install-dir**
* nexus-3.16.0-01 will be referred to as **$install-dir**
* sonatype-work/nexus3 will be referred to as **$data-dir**

See [https://books.sonatype.com/nexus-book/reference3/install.html#directories](https://books.sonatype.com/nexus-book/reference3/install.html#directories) for reference.
Expand All @@ -32,7 +32,7 @@ USER root
RUN yum install -y curl
# Download crowd plugin
RUN curl -L https://github.com/pingunaut/nexus3-crowd-plugin/releases/download/nexus3-crowd-plugin-3.6.2/nexus3-crowd-plugin-3.6.2.jar --output /opt/sonatype/nexus/system/nexus3-crowd-plugin.jar
RUN curl -L https://github.com/pingunaut/nexus3-crowd-plugin/releases/download/nexus3-crowd-plugin-3.7.0/nexus3-crowd-plugin-3.7.0.jar --output /opt/sonatype/nexus/system/nexus3-crowd-plugin.jar
# Install plugin
RUN echo "reference\:file\:nexus3-crowd-plugin.jar = 200" >> /opt/sonatype/nexus/etc/karaf/startup.properties
Expand Down Expand Up @@ -66,13 +66,13 @@ docker run --rm -ti test
Releases can be found here: https://github.com/pingunaut/nexus3-crowd-plugin/releases
```
cd $install-dir/system/
wget https://github.com/pingunaut/nexus3-crowd-plugin/releases/download/nexus3-crowd-plugin-3.6.2/nexus3-crowd-plugin-3.6.2.jar
wget https://github.com/pingunaut/nexus3-crowd-plugin/releases/download/nexus3-crowd-plugin-3.7.0/nexus3-crowd-plugin-3.7.0.jar
```

#### 2. Add bundle to startup properties
Append the following line to *startup.properties* file found in **$install-dir**/etc/karaf
```
reference\:file\:nexus3-crowd-plugin-3.6.2.jar = 200
reference\:file\:nexus3-crowd-plugin-3.7.0.jar = 200
```

#### 3. Create crowd.properties
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-plugins</artifactId>
<version>3.15.2-01</version>
<version>3.16.0-01</version>
</parent>

<groupId>com.pingunaut.nexus</groupId>
Expand Down

0 comments on commit d825d09

Please sign in to comment.