Unverified Commit 3a34eaa2 authored by tathagta15's avatar tathagta15 Committed by GitHub
Browse files

[ACS-11189] [skip tests] Alfresco SDK 4.14.0 A2 Release (#740)

parent 8fe7e1ec
Loading
Loading
Loading
Loading
+28 −13
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ on:
  workflow_dispatch:

env:
  JAVA_VERSION: '21'
  MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
  MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
  MAVEN_CENTRAL_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
@@ -25,7 +26,7 @@ jobs:
  pre_commit:
    runs-on: ubuntu-latest
    steps:
      - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v15.6.0

  veracode_sca:
    name: "Veracode - Source Clear Scan (SCA)"
@@ -35,11 +36,13 @@ jobs:
      github.event_name == 'pull_request'
    steps:
      - uses: actions/checkout@v4
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v15.6.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v15.6.0
        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@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v15.6.0
        continue-on-error: true
        with:
          srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}
@@ -54,7 +57,9 @@ jobs:
        -B -q -e -fae -V -DinstallAtEnd=true -U
    steps:
      - uses: actions/checkout@v4
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v15.6.0
        with:
          java-version: ${{ env.JAVA_VERSION }}
      - name: "Build"
        run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
      - name: "Verify"
@@ -71,8 +76,14 @@ jobs:
      fail-fast: false
      matrix:
        include:
          - name: "current version Java 17"
            java-version: 17
          - name: "current version Java 21"
            java-version: 21
          - name: "26.1 Enterprise Java 21"
            java-version: 21
            suite: -Penterprise-261-tests
          - name: "26.1 Community Java 21"
            java-version: 21
            suite: -Pcommunity-261-tests
          - name: "25.2 Enterprise Java 17"
            java-version: 17
            suite: -Penterprise-252-tests
@@ -150,8 +161,8 @@ jobs:
            suite: -Pcommunity-71-tests
    steps:
      - uses: actions/checkout@v4
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v15.6.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v15.6.0
        with:
          java-version: ${{ matrix.java-version }}
      - name: "Login to Docker Hub"
@@ -178,8 +189,10 @@ jobs:
        is_ga: ${{ steps.publish_version.outputs.is_ga }}
    steps:
      - uses: actions/checkout@v4
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v15.6.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v15.6.0
        with:
          java-version: ${{ env.JAVA_VERSION }}
      - name: "Check version"
        id: publish_version
        run: |
@@ -200,8 +213,10 @@ jobs:
      contains(github.event.head_commit.message, '[publish]') && needs.check_version.outputs.is_ga == 'true'
    steps:
      - uses: actions/checkout@v4
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v12.11.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v15.6.0
      - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v15.6.0
        with:
          java-version: ${{ env.JAVA_VERSION }}
      - name: "Build"
        run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
      - name: Set up Maven Central credentials
+32 −25
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@ This project is released under the [Apache License, Version 2.0](http://www.apac
If you are an Enterprise customer check the [Support](#alfresco-enterprise-customers-and-partners-support) section.

## News
- 2026-02: Alfresco SDK 4.14.0 released
- 2026-01: Alfresco SDK 4.13.0 released
- 2025-07: Alfresco SDK 4.12.0 released
- 2025-03: Alfresco SDK 4.11.0 released
- 2024-11: Alfresco SDK 4.10.0 released
@@ -82,11 +84,13 @@ the `alfresco.log` file has also been moved to a more appropriate location (Tomc

In Q4 2020, Alfresco Platform has undergone a major structural refactoring.

Depending on the Platform version desired, you might need to use SDK 4.1, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 4.10 or SDK 4.11 instead of SDK 4.12.0.
Depending on the Platform version desired, you might need to use SDK 4.1, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 4.10, 4.11, 4.12, 4.13 instead of SDK 4.14.0.

- For Enterprise and Community versions of 7.x, SDK 4.4 or higher must be used
- For Enterprise versions of 6.0.x, 6.1.x, 6.2.x newer than November 2020, SDK 4.3 must be used
- For Enterprise and Community versions of 6.0.x, 6.1.x, 6.2.x older than November 2020, SDK 4.1 must be used
- For Enterprise and Community versions of 25.1.x and 25.2.x, SDK 4.12 or 4.13 must be used
- For Enterprise and Community versions of 26.1.x, SDK 4.14 must be used

It's also important to remember that:

@@ -96,11 +100,13 @@ It's also important to remember that:
- Enterprise Docker images are published on *Quay.io*

### Latest Documentation
To get started with **Alfresco SDK 4.9.x** (latest) visit the [Alfresco Documentation](docs/README.md).
To get started with **Alfresco SDK 4.14.x** (latest) visit the [Alfresco Documentation](docs/README.md).

#### Documentation about Previous Versions
| SDK Version |                                         Alfresco Enterprise Version                                          |                                          Alfresco Community Version                                          | Documentation                                                                                                                                                                                                     |
|-------------|:---------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|-------------|:------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| SDK 4.14.0  | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x / 25.1.x / 25.2.x / 26.1.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x / 25.1.x / 25.2.x / 26.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md                                                                                                                                               |
| SDK 4.13.0  |     Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x / 25.1.x / 25.2.x      |     Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x / 25.1.x / 25.2.x      | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md                                                                                                                                               |
| SDK 4.12.0  |     Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x / 25.1.x / 25.2.x      |     Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x / 25.1.x / 25.2.x      | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md                                                                                                                                               |
| SDK 4.11.0  |          Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x / 25.1.x          |              Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.2.x / 23.3.x / 23.4.x / 25.1.x              | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md                                                                                                                                               |
| SDK 4.10    |              Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x / 23.3.x / 23.4.x               |                  Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.2.x / 23.3.x / 23.4.x                   | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md                                                                                                                                               |
@@ -168,14 +174,15 @@ To test new unreleased (unsupported) features, you can use the following snippet
See the [Developers Wiki page](https://github.com/Alfresco/alfresco-sdk/wiki/Developer-Wiki).

## Publishing the release on Maven Central
- Manually change the version from SNAPSHOT to final (eg. when releasing SDK 4.12.0, replacing all the occurrences of 4.12.0-SNAPSHOT with 4.12.0)
- Manually change the version from SNAPSHOT to final (eg. when releasing SDK 4.15.0, replacing all the occurrences of 4.15.0-SNAPSHOT with 4.15.0)

- Commit and push changes to GitHub with the commit message [publish], then it will automatically publish your artifacts to maven central
- Only GA versions is published to maven central, there is a check in the CI pipeline (called "check_version") to check if the version is non-GA or not, and if it's not, it will skip the "publish" step. Therefore, only "number.number.number" versions will be published to maven central, and any version with a suffix (eg. -Ax, -SNAPSHOT, -RC1, -beta-1) will not be published to maven central.

At this point, we need to manually proceed with the remaining steps:

1- Manually create a release tag on GitHub

2- Manually change the version from final to next SNAPSHOT (eg. replacing all the occurrences of 4.12.0 with 4.13.0-SNAPSHOT (in pom.xml, not in READMEs - if not needed)
2- Manually change the version from final to next SNAPSHOT (eg. replacing all the occurrences of 4.14.0-SNAPSHOT with 4.15.0 (in pom.xml, not in READMEs - if not needed)

3- Commit and push on GitHub
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
  <parent>
    <groupId>org.alfresco.maven</groupId>
    <artifactId>alfresco-sdk-aggregator</artifactId>
    <version>4.14.0-A1</version>
    <version>4.14.0-A2</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>

+3 −3
Original line number Diff line number Diff line
@@ -5,8 +5,8 @@
    <groupId>${groupId}</groupId>
    <artifactId>${artifactId}</artifactId>
    <version>${version}</version>
    <name>AIO - SDK 4.14.0-A1</name>
    <description>All-In-One (AIO) project for SDK 4.14.0-A1</description>
    <name>AIO - SDK 4.14.0-A2</name>
    <description>All-In-One (AIO) project for SDK 4.14.0-A2</description>
    <packaging>pom</packaging>

    <prerequisites>
@@ -217,7 +217,7 @@
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>3.0.0-M1</version>
                    <version>3.5.5</version>
                    <executions>
                        <execution>
                            <id>integration-test</id>
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  <parent>
    <groupId>org.alfresco.maven</groupId>
    <artifactId>alfresco-sdk-aggregator</artifactId>
    <version>4.14.0-A1</version>
    <version>4.14.0-A2</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>

Loading