File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/main/java/com/weareadaptive/nexus/casc/plugin/internal Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >org.sonatype.nexus.plugins</groupId >
7
7
<artifactId >nexus-plugins</artifactId >
8
- <version >3.62 .0-01 </version >
8
+ <version >3.64 .0-04 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
12
12
<groupId >com.weareadaptive.nexus</groupId >
13
13
<artifactId >nexus-casc-plugin</artifactId >
14
- <version >3.62 .0-01 </version >
14
+ <version >3.64 .0-04 </version >
15
15
<packaging >bundle</packaging >
16
16
17
17
<properties >
18
- <nexus .docker.version>3.62 .0</nexus .docker.version>
18
+ <nexus .docker.version>3.64 .0</nexus .docker.version>
19
19
20
20
<maven-surefire-plugin .version>3.1.2</maven-surefire-plugin .version>
21
21
<maven-enforcer-plugin .version>3.3.0</maven-enforcer-plugin .version>
22
22
<build-helper-maven-plugin .version>3.2.0</build-helper-maven-plugin .version>
23
23
<docker-compose-maven-plugin .version>4.0.0</docker-compose-maven-plugin .version>
24
24
25
- <snakeyaml .version>1.33 </snakeyaml .version>
25
+ <snakeyaml .version>2.2 </snakeyaml .version>
26
26
27
27
<junit-jupiter .version>5.9.3</junit-jupiter .version>
28
28
<system-lambda .version>1.2.0</system-lambda .version>
Original file line number Diff line number Diff line change 30
30
import org .sonatype .nexus .security .role .RoleIdentifier ;
31
31
import org .sonatype .nexus .security .subject .FakeAlmightySubject ;
32
32
import org .sonatype .nexus .security .user .*;
33
+ import org .yaml .snakeyaml .LoaderOptions ;
33
34
import org .yaml .snakeyaml .Yaml ;
34
35
import org .yaml .snakeyaml .constructor .Constructor ;
35
36
@@ -95,7 +96,7 @@ protected void doStart() throws Exception {
95
96
}
96
97
97
98
Config config ;
98
- Yaml yaml = new Yaml (new Constructor (Config .class ));
99
+ Yaml yaml = new Yaml (new Constructor (Config .class , new LoaderOptions () ));
99
100
try {
100
101
String yml = interpolator .interpolate (new String (Files .readAllBytes (Paths .get (configFile ))));
101
102
config = yaml .load (yml );
You can’t perform that action at this time.
0 commit comments