Skip to content
This repository was archived by the owner on Jun 2, 2020. It is now read-only.

Commit 1643795

Browse files
author
Sven Tschui
committed
Nexus 3.19.1
1 parent 91c69ef commit 1643795

File tree

5 files changed

+20
-11
lines changed

5 files changed

+20
-11
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ ADD src ./src
1010

1111
RUN mvn verify -T1C
1212

13-
FROM sonatype/nexus3:3.18.1
13+
FROM sonatype/nexus3:3.19.1
1414

15-
ARG NEXUS_CASC_VERSION=3.18.1-01
15+
ARG NEXUS_CASC_VERSION=3.19.1-01
1616
ENV NEXUS_CASC_VERSION=$NEXUS_CASC_VERSION
1717

1818
USER 0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The format of the YAML file is documented below.
1818

1919
### Manual installation
2020

21-
Download the Nexus CasC plugin [here](https://github.com/sventschui/nexus-casc-plugin/releases/download/3.18.1-01/nexus-casc-plugin-3.18.1-01.jar) and copy it into the `systems` folder of your nexus installation.
21+
Download the Nexus CasC plugin [here](https://github.com/sventschui/nexus-casc-plugin/releases) and copy it into the `systems` folder of your nexus installation.
2222
This folder resides in `/opt/sonatype/nexus/system/` when using the `sonatype/nexus3` docker image.
2323

2424
Append the following line to the `etc/karaf/startup.properties` (`/opt/sonatype/nexus/etc/karaf/startup.properties` in the `sonatype/nexus3` docker image) file.

default-nexus.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,21 @@ security:
2121
- username: johndoe
2222
firstName: John
2323
lastName: Doe
24-
password: ${file:/run/secrets/password_johndoe}
24+
password: "${file:/run/secrets/password_johndoe}"
2525
updateExistingPassword: false
2626
email: johndoe@exmaple.org
2727
roles:
2828
- source: ""
2929
role: nx-admin
30+
- username: janedoe
31+
firstName: Jane
32+
lastName: Doe
33+
password: changeme
34+
updateExistingPassword: false
35+
email: janedoe@exmaple.org
36+
roles:
37+
- source: ""
38+
role: nx-admin
3039
repository:
3140
pruneBlobStores: true
3241
blobStores:

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<parent>
66
<groupId>org.sonatype.nexus.plugins</groupId>
77
<artifactId>nexus-plugins</artifactId>
8-
<version>3.18.1-01</version>
8+
<version>3.19.1-01</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<groupId>com.axa.ch.health.nexus.casc</groupId>
1313
<artifactId>nexus-casc-plugin</artifactId>
14-
<version>3.18.1-01</version>
14+
<version>3.19.1-01</version>
1515
<packaging>bundle</packaging>
1616

1717
<properties>
@@ -96,10 +96,10 @@
9696
<id>rso-public-grid</id>
9797
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid/</url>
9898
<releases>
99-
<enabled>false</enabled>
99+
<enabled>true</enabled>
100100
</releases>
101101
<snapshots>
102-
<enabled>false</enabled>
102+
<enabled>true</enabled>
103103
</snapshots>
104104
</repository>
105105
</repositories>
@@ -110,10 +110,10 @@
110110
<id>rso-public-grid</id>
111111
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid/</url>
112112
<releases>
113-
<enabled>false</enabled>
113+
<enabled>true</enabled>
114114
</releases>
115115
<snapshots>
116-
<enabled>false</enabled>
116+
<enabled>true</enabled>
117117
</snapshots>
118118
</pluginRepository>
119119
</pluginRepositories>

src/main/java/ch/sventschui/nexus/casc/NexusCascPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ private void patchRepoAttributes(Map<String, Map<String, Object>> attributes) {
367367

368368
if (policyName != null) {
369369
if (policyName instanceof String) {
370-
log.warn("repository.repositories[].attributes.cleanup.policyName should be a list as of Nexus 3.19.0, converting it for you");
370+
log.warn("repository.repositories[].attributes.cleanup.policyName should be a list as of Nexus 3.19.1, converting it for you");
371371
HashSet<Object> set = new HashSet<>();
372372
set.add(policyName);
373373
cleanup.put("policyName", set);

0 commit comments

Comments
 (0)