Skip to content

Commit 7db4cd4

Browse files
committed
chore(deps): upgrade to Nexus 3.64.0
1 parent feb975e commit 7db4cd4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pom.xml

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

1212
<groupId>com.weareadaptive.nexus</groupId>
1313
<artifactId>nexus-casc-plugin</artifactId>
14-
<version>3.62.0-01</version>
14+
<version>3.64.0-04</version>
1515
<packaging>bundle</packaging>
1616

1717
<properties>
18-
<nexus.docker.version>3.62.0</nexus.docker.version>
18+
<nexus.docker.version>3.64.0</nexus.docker.version>
1919

2020
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
2121
<maven-enforcer-plugin.version>3.3.0</maven-enforcer-plugin.version>
2222
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
2323
<docker-compose-maven-plugin.version>4.0.0</docker-compose-maven-plugin.version>
2424

25-
<snakeyaml.version>1.33</snakeyaml.version>
25+
<snakeyaml.version>2.2</snakeyaml.version>
2626

2727
<junit-jupiter.version>5.9.3</junit-jupiter.version>
2828
<system-lambda.version>1.2.0</system-lambda.version>

src/main/java/com/weareadaptive/nexus/casc/plugin/internal/NexusCascPlugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import org.sonatype.nexus.security.role.RoleIdentifier;
3131
import org.sonatype.nexus.security.subject.FakeAlmightySubject;
3232
import org.sonatype.nexus.security.user.*;
33+
import org.yaml.snakeyaml.LoaderOptions;
3334
import org.yaml.snakeyaml.Yaml;
3435
import org.yaml.snakeyaml.constructor.Constructor;
3536

@@ -95,7 +96,7 @@ protected void doStart() throws Exception {
9596
}
9697

9798
Config config;
98-
Yaml yaml = new Yaml(new Constructor(Config.class));
99+
Yaml yaml = new Yaml(new Constructor(Config.class, new LoaderOptions()));
99100
try {
100101
String yml = interpolator.interpolate(new String(Files.readAllBytes(Paths.get(configFile))));
101102
config = yaml.load(yml);

0 commit comments

Comments
 (0)