Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Mar 27, 2023
2 parents b91c975 + e8939c4 commit 08242ed
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 31 deletions.
6 changes: 6 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 https://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
<body>

<release version="2.19.4" date="2023-03-27">
<action type="update" dev="sseifert">
Update to SnakeYAML 2.0.
</action>
</release>

<release version="2.19.2" date="2023-01-12">
<action type="update" dev="sseifert">
Switch to Java 11 as minimum version.
Expand Down
24 changes: 14 additions & 10 deletions conga-aem-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<parent>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem.parent</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<packaging>jar</packaging>

<name>CONGA AEM Plugin</name>
Expand Down Expand Up @@ -78,14 +78,6 @@
<artifactId>filevault-package-maven-plugin</artifactId>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.sonatype.plexus</groupId>
<artifactId>*</artifactId>
Expand Down Expand Up @@ -162,6 +154,18 @@
<artifactId>oak-commons</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Expand Down
22 changes: 16 additions & 6 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem.parent</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<packaging>pom</packaging>

<name>CONGA AEM Plugin</name>
Expand All @@ -41,18 +41,28 @@
<url>https://github.com/wcm-io-devops/conga-aem-plugin/actions</url>
</ciManagement>

<issueManagement>
<system>GitHub</system>
<url>https://github.com/wcm-io/conga-aem-plugin/issues/</url>
</issueManagement>

<properties>
<maven.version>3.3.9</maven.version>
<oak.version>1.50.0</oak.version>
</properties>

<dependencyManagement>
<dependencies>

<dependency>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>io.wcm.devops.conga.generator</artifactId>
<version>1.14.8</version>
<version>1.15.0</version>
</dependency>
<dependency>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.14.8</version>
<version>1.15.0</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -104,7 +114,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.22</version>
<version>1.23.0</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand Down Expand Up @@ -146,12 +156,12 @@
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>oak-security-spi</artifactId>
<version>1.46.0</version>
<version>${oak.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>oak-commons</artifactId>
<version>1.46.0</version>
<version>${oak.version}</version>
</dependency>

<!-- Node type validation -->
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
<parent>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem.parent</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<relativePath>parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem.root</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<packaging>pom</packaging>

<name>CONGA AEM Plugin</name>
Expand Down
6 changes: 3 additions & 3 deletions tooling/conga-aem-crypto-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
<parent>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem.parent</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>conga-aem-crypto-cli</artifactId>
<packaging>jar</packaging>
<version>2.19.2</version>
<version>2.19.4</version>

<name>CONGA AEM Crypto Command Line Interface</name>
<description>Command line tool to generate Crypto keys for AEM.</description>
Expand All @@ -42,7 +42,7 @@
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<scope>compile</scope>
<exclusions>
<!-- Exclude all deps - only crypto util classes are used -->
Expand Down
9 changes: 4 additions & 5 deletions tooling/conga-aem-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,23 @@
<parent>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem.parent</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>conga-aem-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>2.19.2</version>
<version>2.19.4</version>

<name>CONGA AEM Maven Plugin</name>
<description>wcm.io DevOps CONGA - CONfiguration GenerAtor Maven Plugin for AEM</description>

<properties>
<maven.version>3.3.9</maven.version>
<site.url.module.prefix>tooling/conga-aem-maven-plugin</site.url.module.prefix>

<!-- Versions -->
<maven-plugin-plugin.version>3.7.0</maven-plugin-plugin.version>
<maven-plugin-plugin.version>3.8.1</maven-plugin-plugin.version>

<!-- Enable recording of coverage during execution of maven-invoker-plugin -->
<jacoco.propertyName>invoker.mavenOpts</jacoco.propertyName>
Expand All @@ -63,7 +62,7 @@
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
<version>2.19.2</version>
<version>2.19.4</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion tooling/conga-aem-maven-plugin/src/it/example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<plugin>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.14.8</version>
<version>1.15.0</version>
<extensions>true</extensions>
<dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<plugin>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.14.8</version>
<version>1.15.0</version>
<extensions>true</extensions>
<dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
<plugin>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.14.12</version>
<version>1.15.0</version>
<dependencies>
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
<plugin>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.14.12</version>
<version>1.15.0</version>
<dependencies>
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.yaml.snakeyaml.LoaderOptions;
import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.constructor.Constructor;

Expand All @@ -46,7 +47,7 @@ public static Yaml createYaml() {
.logger(log);

// apply YAML plugins for modifying YAML constructor
Constructor constructor = new Constructor();
Constructor constructor = new Constructor(new LoaderOptions());
YamlConstructorContext context = new YamlConstructorContext()
.pluginContextOptions(options)
.yamlConstructor(constructor);
Expand Down

0 comments on commit 08242ed

Please sign in to comment.