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

Commit

Permalink
Nexus 3.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Tschui committed Oct 10, 2019
1 parent 91c69ef commit 1643795
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ADD src ./src

RUN mvn verify -T1C

FROM sonatype/nexus3:3.18.1
FROM sonatype/nexus3:3.19.1

ARG NEXUS_CASC_VERSION=3.18.1-01
ARG NEXUS_CASC_VERSION=3.19.1-01
ENV NEXUS_CASC_VERSION=$NEXUS_CASC_VERSION

USER 0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The format of the YAML file is documented below.

### Manual installation

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.
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.
This folder resides in `/opt/sonatype/nexus/system/` when using the `sonatype/nexus3` docker image.

Append the following line to the `etc/karaf/startup.properties` (`/opt/sonatype/nexus/etc/karaf/startup.properties` in the `sonatype/nexus3` docker image) file.
Expand Down
11 changes: 10 additions & 1 deletion default-nexus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,21 @@ security:
- username: johndoe
firstName: John
lastName: Doe
password: ${file:/run/secrets/password_johndoe}
password: "${file:/run/secrets/password_johndoe}"
updateExistingPassword: false
email: [email protected]
roles:
- source: ""
role: nx-admin
- username: janedoe
firstName: Jane
lastName: Doe
password: changeme
updateExistingPassword: false
email: [email protected]
roles:
- source: ""
role: nx-admin
repository:
pruneBlobStores: true
blobStores:
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-plugins</artifactId>
<version>3.18.1-01</version>
<version>3.19.1-01</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>com.axa.ch.health.nexus.casc</groupId>
<artifactId>nexus-casc-plugin</artifactId>
<version>3.18.1-01</version>
<version>3.19.1-01</version>
<packaging>bundle</packaging>

<properties>
Expand Down Expand Up @@ -96,10 +96,10 @@
<id>rso-public-grid</id>
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid/</url>
<releases>
<enabled>false</enabled>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Expand All @@ -110,10 +110,10 @@
<id>rso-public-grid</id>
<url>https://repository.sonatype.org/content/groups/sonatype-public-grid/</url>
<releases>
<enabled>false</enabled>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ private void patchRepoAttributes(Map<String, Map<String, Object>> attributes) {

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

0 comments on commit 1643795

Please sign in to comment.