Skip to content

Commit

Permalink
chore(deps): upgrade to Nexus 3.64.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bdellegrazie committed Jan 14, 2024
1 parent feb975e commit 7db4cd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
<parent>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-plugins</artifactId>
<version>3.62.0-01</version>
<version>3.64.0-04</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>com.weareadaptive.nexus</groupId>
<artifactId>nexus-casc-plugin</artifactId>
<version>3.62.0-01</version>
<version>3.64.0-04</version>
<packaging>bundle</packaging>

<properties>
<nexus.docker.version>3.62.0</nexus.docker.version>
<nexus.docker.version>3.64.0</nexus.docker.version>

<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<maven-enforcer-plugin.version>3.3.0</maven-enforcer-plugin.version>
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
<docker-compose-maven-plugin.version>4.0.0</docker-compose-maven-plugin.version>

<snakeyaml.version>1.33</snakeyaml.version>
<snakeyaml.version>2.2</snakeyaml.version>

<junit-jupiter.version>5.9.3</junit-jupiter.version>
<system-lambda.version>1.2.0</system-lambda.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.sonatype.nexus.security.role.RoleIdentifier;
import org.sonatype.nexus.security.subject.FakeAlmightySubject;
import org.sonatype.nexus.security.user.*;
import org.yaml.snakeyaml.LoaderOptions;
import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.constructor.Constructor;

Expand Down Expand Up @@ -95,7 +96,7 @@ protected void doStart() throws Exception {
}

Config config;
Yaml yaml = new Yaml(new Constructor(Config.class));
Yaml yaml = new Yaml(new Constructor(Config.class, new LoaderOptions()));
try {
String yml = interpolator.interpolate(new String(Files.readAllBytes(Paths.get(configFile))));
config = yaml.load(yml);
Expand Down

0 comments on commit 7db4cd4

Please sign in to comment.