Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jan 12, 2023
2 parents 9c08d0e + 1adea91 commit b91c975
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 76 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
2 changes: 1 addition & 1 deletion .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [8, 11, 17]
java: [11, 17]
os: [ubuntu-latest]
distribution: [temurin]
include:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Deploy snapshots to Sonatpe OSS repository and deploy site to GitHub Pages
# Deploy snapshots to Sonatype OSS repository and deploy site to GitHub Pages

name: Deploy

Expand All @@ -15,19 +15,19 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Configure GIT
run: |
git config --global user.email "${{ secrets.GH_SITE_DEPLOY_EMAIL }}"
git config --global user.name "${{ secrets.GH_SITE_DEPLOY_NAME }}"
- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: 'maven'
java-version: 11
cache: maven

- name: Build, verify, deploy, generate site
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
body: 'Changes: https://devops.wcm.io/conga/plugins/aem/changes-report.html'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=wcm-io-devops_conga-aem-plugin&metric=coverage)](https://sonarcloud.io/summary/new_code?id=wcm-io-devops_conga-aem-plugin)

Documentation: https://devops.wcm.io/conga/plugins/aem/<br/>
Issues: https://wcm-io.atlassian.net/projects/WDCONGA<br/>
Issues: https://github.com/wcm-io-devops/conga-aem-plugin/issues<br/>
Wiki: https://wcm-io.atlassian.net/wiki/<br/>
Continuous Integration: https://github.com/wcm-io-devops/conga-aem-plugin/actions<br/>
Commercial support: https://wcm.io/commercial-support.html
Expand Down
9 changes: 9 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
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.2" date="2023-01-12">
<action type="update" dev="sseifert">
Switch to Java 11 as minimum version.
</action>
<action type="fix" dev="sseifert">
conga-aem-maven-plugin: Avoid duplicating version when adding release version suffix with packageVersionMode=RELEASE_SUFFIX_VERSION mode.
</action>
</release>

<release version="2.19.0" date="2022-11-10">
<action type="add" dev="sseifert">
conga-aem-maven-plugin: Introduce new parameter "packageVersionMode" to "cloudmanager-all-package" goal, which allows to enable a special "RELEASE_SUFFIX_VERSION" mode.
Expand Down
4 changes: 2 additions & 2 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.0</version>
<version>2.19.2</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.0</version>
<version>2.19.2</version>
<packaging>jar</packaging>

<name>CONGA AEM Plugin</name>
Expand Down
24 changes: 12 additions & 12 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<parent>
<groupId>io.wcm.devops</groupId>
<artifactId>io.wcm.devops.parent_toplevel</artifactId>
<version>1.3.2</version>
<version>1.4.0</version>
<relativePath />
</parent>

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

<name>CONGA AEM Plugin</name>
Expand Down Expand Up @@ -81,13 +81,13 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.0.1-jre</version>
<version>31.1-jre</version>
</dependency>

<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<version>1.3.0</version>
<version>1.3.2</version>
</dependency>

<dependency>
Expand All @@ -104,7 +104,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.21</version>
<version>1.22</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand Down Expand Up @@ -135,30 +135,30 @@
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-json_1.1_spec</artifactId>
<version>1.0</version>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.apache.johnzon</groupId>
<artifactId>johnzon-core</artifactId>
<version>1.1.4</version>
<version>1.2.19</version>
</dependency>

<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>oak-security-spi</artifactId>
<version>1.8.0</version>
<version>1.46.0</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>oak-commons</artifactId>
<version>1.8.0</version>
<version>1.46.0</version>
</dependency>

<!-- Node type validation -->
<dependency>
<groupId>biz.netcentric.aem</groupId>
<artifactId>aem-nodetypes</artifactId>
<version>2020.11.0</version>
<version>2022.10.0</version>
</dependency>
<dependency>
<groupId>io.wcm.tooling.nodetypes</groupId>
Expand All @@ -170,12 +170,12 @@
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<version>2.8.3</version>
<version>2.9.1</version>
</dependency>
<dependency>
<groupId>org.zeroturnaround</groupId>
<artifactId>zt-zip</artifactId>
<version>1.14</version>
<version>1.15</version>
</dependency>

</dependencies>
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.0</version>
<version>2.19.2</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.0</version>
<version>2.19.2</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.0</version>
<version>2.19.2</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.0</version>
<version>2.19.2</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.0</version>
<version>2.19.2</version>
<scope>compile</scope>
<exclusions>
<!-- Exclude all deps - only crypto util classes are used -->
Expand Down
12 changes: 6 additions & 6 deletions tooling/conga-aem-maven-plugin/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.0</version>
<version>2.19.2</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.0</version>
<version>2.19.2</version>

<name>CONGA AEM Maven Plugin</name>
<description>wcm.io DevOps CONGA - CONfiguration GenerAtor Maven Plugin for AEM</description>
Expand All @@ -42,7 +42,7 @@
<site.url.module.prefix>tooling/conga-aem-maven-plugin</site.url.module.prefix>

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

<!-- Enable recording of coverage during execution of maven-invoker-plugin -->
<jacoco.propertyName>invoker.mavenOpts</jacoco.propertyName>
Expand All @@ -63,7 +63,7 @@
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
<version>2.19.0</version>
<version>2.19.2</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -113,7 +113,7 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
<version>3.5.2</version>
<version>3.6.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -125,7 +125,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.32</version>
<version>1.7.36</version>
<scope>compile</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<properties>

<!-- Java version -->
<java.version>1.8</java.version>
<build.compiler.release>8</build.compiler.release>
<java.version>11</java.version>

<!-- AEM instance parameters -->
<sling.url>http://localhost:4502</sling.url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<properties>

<!-- Java version -->
<java.version>1.8</java.version>
<build.compiler.release>8</build.compiler.release>
<java.version>11</java.version>

<!-- AEM instance parameters -->
<sling.url>http://localhost:4502</sling.url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ private String buildVersionSuffix(ContentPackageFile pkg, boolean ignoreSnapshot

if (this.packageVersionMode == PackageVersionMode.RELEASE_SUFFIX_VERSION
&& (!ArtifactUtils.isSnapshot(pkg.getVersion()) || !ignoreSnapshot)
&& !StringUtils.equals(pkg.getVersion(), this.version)
&& this.version != null) {
versionSuffix.append(VERSION_SUFFIX_SEPARATOR)
// replace dots with underlines in version suffix to avoid confusion with main version number
Expand Down
Loading

0 comments on commit b91c975

Please sign in to comment.