Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 8ce7beb

Browse files
authored
Update (#79)
1 parent 6b13de9 commit 8ce7beb

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ ARG NEXUS_VERSION=3.13.0
55
ARG NEXUS_BUILD=01
66

77
COPY . /nexus-repository-apt/
8-
RUN cd /nexus-repository-apt/; sed -i "s/3.11.0-01/${NEXUS_VERSION}-${NEXUS_BUILD}/g" pom.xml; \
8+
RUN cd /nexus-repository-apt/; sed -i "s/3.13.0-01/${NEXUS_VERSION}-${NEXUS_BUILD}/g" pom.xml; \
99
mvn;
1010

1111
FROM sonatype/nexus3:$NEXUS_VERSION
1212
ARG NEXUS_VERSION=3.13.0
1313
ARG NEXUS_BUILD=01
1414
# Will not seem to work in sed without some magick
15-
ARG APT_VERSION=1.0.7
15+
ARG APT_VERSION=1.0.8
1616
ARG COMP_VERSION=1.16.1
1717
ARG XZ_VERSION=1.8
1818
ARG APT_TARGET=/opt/sonatype/nexus/system/net/staticsnow/nexus-repository-apt/${APT_VERSION}/

README.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22

33
[![Build Status](https://travis-ci.org/sonatype-nexus-community/nexus-repository-apt.svg?branch=master)](https://travis-ci.org/sonatype-nexus-community/nexus-repository-apt) [![DepShield Badge](https://depshield.sonatype.org/badges/sonatype-nexus-community/nexus-repository-apt/depshield.svg)](https://depshield.github.io)
44

5-
* Version 1.0.7 (master) is for Nexus Repo 3.11.0
6-
* Version 1.0.5 requires Nexus Repo 3.9.0
7-
* For older Nexus Repo versions use tag 1.0.2
5+
Compatibility Matrix:
6+
7+
| Plugin Version | Nexus Repository Version |
8+
|----------------|--------------------------|
9+
| v1.0.2 | <3.9.0 |
10+
| v1.0.5 | 3.9.0 |
11+
| v1.0.7 | 3.11.0 |
12+
| v1.0.8 | 3.13.0 |
813

914
### Build
1015
* Clone the project:
@@ -18,11 +23,11 @@
1823
```
1924
### Build with docker and create an image based on nexus repository 3
2025

21-
``` docker build -t nexus-repository-apt:3.11.0 .```
26+
``` docker build -t nexus-repository-apt:3.13.0 .```
2227

2328
### Run a docker container from that image
2429

25-
``` docker run -d -p 8081:8081 --name nexus-repo nexus-repository-apt:3.11.0 ```
30+
``` docker run -d -p 8081:8081 --name nexus-repo nexus-repository-apt:3.13.0 ```
2631

2732
For further information like how to persist volumes check out [the GitHub Repo for the official Nexus Repository 3 Docker image](https://github.com/sonatype/docker-nexus3).
2833

@@ -40,7 +45,7 @@ The application will now be available from your browser at http://localhost:8081
4045
./nexus stop
4146
```
4247

43-
* Copy the bundle into `<nexus_dir>/system/net/staticsnow/nexus-repository-apt/1.0.7/nexus-repository-apt-1.0.7.jar`
48+
* Copy the bundle into `<nexus_dir>/system/net/staticsnow/nexus-repository-apt/1.0.8/nexus-repository-apt-1.0.8.jar`
4449
* Make the following additions marked with + to `<nexus_dir>/system/org/sonatype/nexus/assemblies/nexus-core-feature/3.x.y/nexus-core-feature-3.x.y-features.xml`
4550
```
4651
<feature prerequisite="false" dependency="false">nexus-repository-maven</feature>
@@ -49,9 +54,9 @@ The application will now be available from your browser at http://localhost:8081
4954
```
5055
And
5156
```
52-
+ <feature name="nexus-repository-apt" description="net.staticsnow:nexus-repository-apt" version="1.0.7">
57+
+ <feature name="nexus-repository-apt" description="net.staticsnow:nexus-repository-apt" version="1.0.8">
5358
+ <details>net.staticsnow:nexus-repository-apt</details>
54-
+ <bundle>mvn:net.staticsnow/nexus-repository-apt/1.0.7</bundle>
59+
+ <bundle>mvn:net.staticsnow/nexus-repository-apt/1.0.8</bundle>
5560
+     <bundle>mvn:org.apache.commons/commons-compress/1.16.1</bundle>
5661
+ <bundle>mvn:org.tukaani/xz/1.8</bundle>
5762
+ </feature>

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<groupId>org.sonatype.nexus.plugins</groupId>
77
<artifactId>nexus-plugins</artifactId>
8-
<version>3.11.0-01</version>
8+
<version>3.13.0-01</version>
99
</parent>
1010
<groupId>net.staticsnow</groupId>
1111
<artifactId>nexus-repository-apt</artifactId>
1212
<name>${project.groupId}:${project.artifactId}</name>
13-
<version>1.0.7</version>
13+
<version>1.0.8</version>
1414
<packaging>bundle</packaging>
1515

1616
<dependencies>

0 commit comments

Comments
 (0)