File tree Expand file tree Collapse file tree
tooling/conga-aem-maven-plugin
src/main/java/io/wcm/devops/conga/plugins/aem/maven/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 <action type =" update" dev =" sseifert" >
2828 Switch to Java 11 as minimum version.
2929 </action >
30+ <action type =" update" dev =" sseifert" >
31+ Update to SnakeYAML 2.0.
32+ </action >
3033 <action type =" fix" dev =" sseifert" >
3134 conga-aem-maven-plugin: Avoid duplicating version when adding release version suffix with packageVersionMode=RELEASE_SUFFIX_VERSION mode.
3235 </action >
Original file line number Diff line number Diff line change 7878 <artifactId >filevault-package-maven-plugin</artifactId >
7979 <scope >compile</scope >
8080 <exclusions >
81- <exclusion >
82- <groupId >org.apache.maven</groupId >
83- <artifactId >*</artifactId >
84- </exclusion >
85- <exclusion >
86- <groupId >org.apache.maven.plugin-tools</groupId >
87- <artifactId >*</artifactId >
88- </exclusion >
8981 <exclusion >
9082 <groupId >org.sonatype.plexus</groupId >
9183 <artifactId >*</artifactId >
162154 <artifactId >oak-commons</artifactId >
163155 <scope >compile</scope >
164156 </dependency >
157+ <dependency >
158+ <groupId >org.apache.maven</groupId >
159+ <artifactId >maven-core</artifactId >
160+ <version >${maven.version} </version >
161+ <scope >compile</scope >
162+ </dependency >
163+ <dependency >
164+ <groupId >org.apache.maven</groupId >
165+ <artifactId >maven-plugin-api</artifactId >
166+ <version >${maven.version} </version >
167+ <scope >compile</scope >
168+ </dependency >
165169
166170 <dependency >
167171 <groupId >org.slf4j</groupId >
Original file line number Diff line number Diff line change 4646 <url >https://github.com/wcm-io/conga-aem-plugin/issues/</url >
4747 </issueManagement >
4848
49+ <properties >
50+ <maven .version>3.3.9</maven .version>
51+ </properties >
52+
4953 <dependencyManagement >
5054 <dependencies >
5155
5256 <dependency >
5357 <groupId >io.wcm.devops.conga</groupId >
5458 <artifactId >io.wcm.devops.conga.generator</artifactId >
55- <version >1.14.8 </version >
59+ <version >1.15.0-SNAPSHOT </version >
5660 </dependency >
5761 <dependency >
5862 <groupId >io.wcm.devops.conga</groupId >
5963 <artifactId >conga-maven-plugin</artifactId >
60- <version >1.14.8 </version >
64+ <version >1.15.0-SNAPSHOT </version >
6165 </dependency >
6266
6367 <dependency >
Original file line number Diff line number Diff line change 3838 <description >wcm.io DevOps CONGA - CONfiguration GenerAtor Maven Plugin for AEM</description >
3939
4040 <properties >
41- <maven .version>3.3.9</maven .version>
4241 <site .url.module.prefix>tooling/conga-aem-maven-plugin</site .url.module.prefix>
4342
4443 <!-- Versions -->
Original file line number Diff line number Diff line change 2121
2222import org .slf4j .Logger ;
2323import org .slf4j .LoggerFactory ;
24+ import org .yaml .snakeyaml .LoaderOptions ;
2425import org .yaml .snakeyaml .Yaml ;
2526import org .yaml .snakeyaml .constructor .Constructor ;
2627
@@ -46,7 +47,7 @@ public static Yaml createYaml() {
4647 .logger (log );
4748
4849 // apply YAML plugins for modifying YAML constructor
49- Constructor constructor = new Constructor ();
50+ Constructor constructor = new Constructor (new LoaderOptions () );
5051 YamlConstructorContext context = new YamlConstructorContext ()
5152 .pluginContextOptions (options )
5253 .yamlConstructor (constructor );
You can’t perform that action at this time.
0 commit comments