Compare commits

...
9 changed files with 77 additions and 34 deletions
+9 -19
View File
@@ -27,25 +27,6 @@ jobs:
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v15.7.1
veracode_sca:
name: "Veracode - Source Clear Scan (SCA)"
runs-on: ubuntu-latest
if: >
github.ref_name == 'master' ||
github.event_name == 'pull_request'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v15.7.1
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v15.7.1
with:
java-version: ${{ env.JAVA_VERSION }}
- name: "Clean-up SNAPSHOT artifacts"
run: find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v15.7.1
continue-on-error: true
with:
srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}
build:
name: "Build application"
runs-on: ubuntu-latest
@@ -77,6 +58,12 @@ jobs:
include:
- name: "current version Java 21"
java-version: 21
- name: "26.2 Enterprise Java 21"
java-version: 21
suite: -Penterprise-262-tests
- name: "26.2 Community Java 21"
java-version: 21
suite: -Pcommunity-262-tests
- name: "26.1 Enterprise Java 21"
java-version: 21
suite: -Penterprise-261-tests
@@ -98,6 +85,9 @@ jobs:
- name: "25.1 Community Java 17"
java-version: 17
suite: -Pcommunity-251-tests
- name: "23.7 Enterprise Java 17"
java-version: 17
suite: -Penterprise-237-tests
- name: "23.5 Enterprise Java 17"
java-version: 17
suite: -Penterprise-235-tests
@@ -11,7 +11,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.16.0</version>
<version>4.17.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -12,7 +12,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.16.0</version>
<version>4.17.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -14,7 +14,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.16.0</version>
<version>4.17.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+1 -1
View File
@@ -17,7 +17,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.16.0</version>
<version>4.17.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.16.0</version>
<version>4.17.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+3 -3
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.16.0</version>
<version>4.17.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -81,7 +81,7 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
<version>3.6.0</version>
<version>3.6.6</version>
<exclusions>
<exclusion>
<artifactId>maven-core</artifactId>
@@ -92,7 +92,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<version>4.11.0</version>
<version>4.12.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
+60 -4
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.16.0</version>
<version>4.17.0-A1</version>
<name>Alfresco SDK</name>
<description>This aggregator Project builds all modules required for the Alfresco SDK</description>
<packaging>pom</packaging>
@@ -238,6 +238,20 @@
</properties>
</profile>
<!-- 23.7 -->
<profile>
<id>enterprise-237-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.7.1</alfresco.platform.version>
<alfresco.share.docker.version>23.7.1</alfresco.share.docker.version>
<alfresco.share.version>23.7.2.1</alfresco.share.version>
<alfresco.platform.docker.image>quay.io/alfresco/alfresco-content-repository</alfresco.platform.docker.image>
<alfresco.share.docker.image>quay.io/alfresco/alfresco-share</alfresco.share.docker.image>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
</properties>
</profile>
<!-- 25.1 -->
<profile>
<id>community-251-tests</id>
@@ -295,9 +309,9 @@
<id>enterprise-254-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>25.4.0</alfresco.platform.version>
<alfresco.share.docker.version>25.4.0</alfresco.share.docker.version>
<alfresco.share.version>25.4.0.61</alfresco.share.version>
<alfresco.platform.version>25.4.1</alfresco.platform.version>
<alfresco.share.docker.version>25.4.1</alfresco.share.docker.version>
<alfresco.share.version>25.4.1.2</alfresco.share.version>
<alfresco.platform.docker.image>quay.io/alfresco/alfresco-content-repository</alfresco.platform.docker.image>
<alfresco.share.docker.image>quay.io/alfresco/alfresco-share</alfresco.share.docker.image>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
@@ -330,6 +344,32 @@
</properties>
</profile>
<!-- 26.2 -->
<profile>
<id>community-262-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>26.2.0-A.28</alfresco.platform.version>
<alfresco.share.docker.version>26.2.0-A.28</alfresco.share.docker.version>
<alfresco.share.version>26.2.0.64</alfresco.share.version>
<alfresco.platform.docker.image>alfresco/alfresco-content-repository-community</alfresco.platform.docker.image>
<alfresco.share.docker.image>alfresco/alfresco-share</alfresco.share.docker.image>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
</properties>
</profile>
<profile>
<id>enterprise-262-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>26.2.0-A.28</alfresco.platform.version>
<alfresco.share.docker.version>26.2.0-A.28</alfresco.share.docker.version>
<alfresco.share.version>26.2.0.64</alfresco.share.version>
<alfresco.platform.docker.image>quay.io/alfresco/alfresco-content-repository</alfresco.platform.docker.image>
<alfresco.share.docker.image>quay.io/alfresco/alfresco-share</alfresco.share.docker.image>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
</properties>
</profile>
<profile>
<id>sdk-release</id>
<build>
@@ -449,6 +489,22 @@
</profile>
</profiles>
<!--
Date: 12-06-2026
Force transitive dependencies to safe versions.
Remove this when bumping the "alfresco-repository" 26.2 GA in the future,
as the fixed version of plexus-utils will be included in the dependency tree of the project.
-->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.6.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
-3
View File
@@ -1,3 +0,0 @@
# To avoid the provided dependencies we set the scope to runtime. See: https://docs.veracode.com/r/c_sc_scan_directives
# runtime: to restrict the scan to compile and runtime dependencies.
scope: runtime