Compare commits

..
Author SHA1 Message Date
copilot-swe-agent[bot]andkushal-banik-hyland c74abe93e3 Add comprehensive release documentation (RELEASE.md)
Co-authored-by: kushal-banik-hyland <150014844+kushal-banik-hyland@users.noreply.github.com>
2026-02-23 07:54:44 +00:00
copilot-swe-agent[bot] 47971b0ad4 Initial plan 2026-02-23 07:52:44 +00:00
Debjit Chattopadhyay 8fe7e1ecbc [MNT-25505] update alfresco-sdk docs for 4.12.0 (#736) 2026-02-12 17:23:34 +05:30
Vivek Kumar 2496408ad4 [MNT-24979]: Incorrectly generated Log4j2 files from Alfresco SDK (#735) 2026-02-09 18:21:21 +05:30
Vivek Kumar 573e317e01 [PRODSEC-11120]: Bump plexus-archiver in order to fix CVE-2025-67721 (#734) 2026-01-30 16:12:53 +05:30
Vivek Kumar 4737496272 [ACS-10941][MNT-25301]: SDK - Intermediate versions must not be published to Maven Central (#733) 2026-01-28 15:06:20 +05:30
Gerard Olenski 7d69fb289f ACS-10509 Bump repository dependency to 25.3.0-A.15 (#730) 2025-11-04 14:39:20 +01:00
cezary-witkowski a1827ed550 [ACS-9960] Use commons-lang 3.18. Bump repository dependency from 25.2.0 to 25.3.0-A.8. (#728) 2025-09-26 12:12:29 +02:00
Vivek 1cab716998 [ACS-9823]: maven central publishing, modified ci.yml to use ci.settings.xml file to setup maven credentials (#727) 2025-07-29 18:30:34 +05:30
Vivek 3885c48524 [ACS-9823]:[publish] release 4.12.0 (#726) 2025-07-28 18:38:46 +05:30
Vivek a90ff212b9 [ACS-9823]: [publish] release ci work (#725)
* [ACS-9823]: [publish] migrate from nexus-staging-maven-pluging to central-publishing-maven-plugin

* [ACS-9823]: release 4.12.0-A1
2025-07-28 17:50:32 +05:30
Vivek 7b3aad825e [ACS-9823]: [publish] migrate from nexus-staging-maven-pluging to central-publishing-maven-plugin (#724) 2025-07-28 17:26:25 +05:30
Vivek 77b1bbd180 [ACS-9823]: [publish] release ci fix work 2025-07-28 16:11:26 +05:30
Vivek 6d3315f6fd [ACS-9823]: [publish] release ci fix work (#722) 2025-07-28 14:00:28 +05:30
Vivek 2fad0aef35 [ACS-9823]: [publish] release ci fix work (#721) 2025-07-28 12:41:50 +05:30
Vivek 099b7b26df [ACS-9823]: [publish] release ci fix work (#720) 2025-07-25 18:55:15 +05:30
Vivek 49a3815038 [ACS-9823]: [publish] release ci fix work (#719) 2025-07-25 18:33:17 +05:30
Vivek 458399dcf9 [ACS-9823]: [publish] release ci fix work (#718) 2025-07-25 17:36:25 +05:30
Vivek 1d67feafa4 [ACS-9823]: [publish] release ci fix work (#717) 2025-07-25 17:00:04 +05:30
Vivek 2f586f266a [ACS-9823]: [publish] package alfresco-rad before publishing and remove central.skip config (#716) 2025-07-25 14:59:12 +05:30
Vivek 3bee9d0d5b [ACS-9823]: [publish] Disable central publishing plugin execution for alfresco-rad module (#715) 2025-07-25 14:10:27 +05:30
Vivek 36c55b60b9 [ACS-9823]: [publish] fix release ci, skip central publishing for parent module to resolve missing build artifact error during release (#714) 2025-07-25 12:42:17 +05:30
Vivek f861833fa3 [ACS-9823]: [publish] maven central publishing (#713)
* [ACS-9823]: providing logic for maven central config via ci file for release process

* [ACS-9823]: providing logic for maven central config via ci file for release process
2025-07-24 18:11:27 +05:30
Vivek 32470ef417 [ACS-9823]: [publish] migrate from nexus-staging-maven-pluging to central-publishing-maven-plugin (#712) 2025-07-24 14:53:29 +05:30
Vivek 2fe97216a0 [ACS-9823]: [publish] release 4.12.0 (#711) 2025-07-17 15:13:08 +05:30
Vivek 70c61921d1 [ACS-9823]: [publish] profiles add, ci tests update and sdk version 4.12.0-A1-SNAPSHOT update in pom.xml (#710) 2025-07-07 11:49:13 +05:30
Vivek 2ec46f28a9 Merge pull request #708 from Alfresco/feature/MNT-25067
[MNT-25067]: AIO and Alfresco platform docker compose file update with new version
2025-06-23 10:52:51 +05:30
vivekkr0311 84762446cb [MNT-25067]: AIO and Alfresco platform docker compose file update with new version 2025-06-20 16:45:55 +05:30
Manish Kumar f4426cf52d added release steps in the readme (#707) 2025-04-25 12:07:41 +05:30
Manish Kumar 007397f269 Prepare for next development release 2025-04-24 11:03:05 +05:30
Manish Kumar 477cfd0815 [publish] release 4.11.0 (#706) 2025-04-14 15:09:39 +05:30
Manish Kumar ed8f8519b0 Fix/sdk release issue (#705)
* [publish] [skip tests] import gpg key

* [publish] [skip tests] import gpg key

* [publish] release 4.11.0-A2

* [publish] release 4.11.0-A2

* [publish] release 4.11.0-A2
2025-04-14 14:53:44 +05:30
mosingh 6ab259ae87 [publish] Releasing alpha version 4.11.0-A2 2025-04-09 23:20:24 +05:30
mohit-singh4 d9aadb1a7d Releasing alpha version 4.11.0-A2 (#704) 2025-04-09 22:53:11 +05:30
SathishK-TandSathish Kumar 3d312dd248 [APPS-3219] [publish] alfresco sdk 4.11.0 release (#702)
* [APPS-3219] alfresco sdk 4.11.0 release

* [APPS-3219] alfresco sdk 4.11.0 release

---------

Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-03-24 11:24:05 +05:30
SathishK-TandSathish Kumar 8746cc47ee [APPS-3249] Prepare for next development iteration (#701)
Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-03-18 18:19:31 +05:30
SathishK-TandSathish Kumar f935952160 [APPS-3249] [publish] Releasing Alfresco SDK 4.11.0 (#700)
* [APPS-3249] Releasing Alfresco SDK

* [APPS-3249] Releasing Alfresco SDK

---------

Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-03-18 16:20:07 +05:30
SathishK-TandSathish Kumar a303296159 [APPS-3219] Preparing for next development iteration (#697)
Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-02-17 10:18:53 +05:30
SathishK-TandSathish Kumar d92cd1d28c [APPS-3219] [publish] Releasing Alfresco SDK 4.11.0-A1 (#699)
Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-02-14 16:24:13 +05:30
SathishK-TandSathish Kumar d24a4e223d [APPS-3219] [publish] Releasing Alfresco SDK 4.11.0-A1 (#698)
Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-02-14 15:38:06 +05:30
SathishK-TandSathish Kumar 94646f41f1 [APPS-3219] [publish] Releasing Alfresco SDK 4.11.0-A1 (#696)
Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-02-14 11:26:50 +05:30
SathishK-TandSathish Kumar 3a5c7ab475 Update community version from 23.4.0 & 23.3.0 to 23.4.1 & 23.3.3 (#695)
Co-authored-by: Sathish Kumar <ST28@ford.com>
2025-02-14 10:17:21 +05:30
Manish Kumar 1f9ae91cb1 [MNT-24673] fix users not seen (#694)
* [MNT-24673] fix users not seen

* [MNT-24673] only keep share-config file used in Docker file
2025-02-06 11:25:05 +05:30
suneet-gupta 3126e0e128 [PRODDEL-8705] Preparing for next development iteration 2024-11-22 08:02:17 +00:00
suneet-gupta 3a1d65965e [PRODDEL-8705] Preparing for next development iteration 2024-11-22 05:46:32 +00:00
suneet-gupta 88c0604a6f [PRODDEL-8705] [publish] Releasing Alfresco SDK 4.10.0 2024-11-21 15:31:24 +00:00
suneet-gupta bec7914830 [PRODDEL-8705] [publish] Releasing Alfresco SDK 4.10.0 2024-11-21 10:55:02 +00:00
suneet-gupta ac0503904d [PRODDEL-8705] [publish] Releasing Alfresco SDK 4.10.0 2024-11-21 10:20:17 +00:00
Suneet Gupta 536b01c56f [PRODDEL-8705] Release Alfresco SDK 4.10.0 (#693)
* [PRODDEL-8705] Releasing Alfresco SDK 4.10.0

* [PRODDEL-8705] Releasing Alfresco SDK 4.10.0
2024-11-21 09:49:52 +00:00
Manish Kumar 33c93c4dfe [PRODSEC-9642] fix commons-io vulnerability (#691) 2024-11-06 19:15:41 +05:30
Manish Kumar 0985d8b36d [APPS-3094] remove 70 tests (#692) 2024-11-06 15:17:01 +05:30
purusothaman-mm ac09ab3386 [APPS-3043] Upgrade to spring 6.1 (#688)
* [APPS-3043] Upgrade to spring 6.1

* [APPS-3043] Upgrade to spring 6.1
2024-10-23 13:11:15 +05:30
Aleksandra Onych 7de8c85c0a [ACS-8676] bump GH actions to the latest version (#686) 2024-09-24 17:41:59 +02:00
Suneet Gupta 94a085d2bc [APPS-2991] Prepared for next development iteration (#684) 2024-09-02 17:05:17 +05:30
30 changed files with 545 additions and 145 deletions
+5
View File
@@ -3,6 +3,11 @@
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>central</id>
<username>${MAVEN_CENTRAL_USERNAME}</username>
<password>${MAVEN_CENTRAL_PASSWORD}</password>
</server>
<server>
<id>alfresco-private-repository</id>
<username>${env.MAVEN_USERNAME}</username>
+82 -26
View File
@@ -6,13 +6,11 @@ on:
- master
- fix/**
- feature/**
- sdk-4.5
push:
branches:
- master
- fix/**
- feature/**
- sdk-4.5
workflow_dispatch:
env:
@@ -20,12 +18,14 @@ env:
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
MAVEN_CENTRAL_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}
GITHUB_ACTIONS_DEPLOY_TIMEOUT: 90
jobs:
pre_commit:
runs-on: ubuntu-latest
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v1.35.0
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v12.11.0
veracode_sca:
name: "Veracode - Source Clear Scan (SCA)"
@@ -34,12 +34,12 @@ jobs:
github.ref_name == 'master' ||
github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.34.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.34.0
- 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
- 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@v1.34.0
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v12.11.0
continue-on-error: true
with:
srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}
@@ -53,8 +53,8 @@ jobs:
MAVEN_CLI_OPTS: >
-B -q -e -fae -V -DinstallAtEnd=true -U
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v12.11.0
- name: "Build"
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: "Verify"
@@ -73,6 +73,27 @@ jobs:
include:
- name: "current version Java 17"
java-version: 17
- name: "25.2 Enterprise Java 17"
java-version: 17
suite: -Penterprise-252-tests
- name: "25.2 Community Java 17"
java-version: 17
suite: -Pcommunity-252-tests
- name: "25.1 Enterprise Java 17"
java-version: 17
suite: -Penterprise-251-tests
- name: "25.1 Community Java 17"
java-version: 17
suite: -Pcommunity-251-tests
- name: "23.5 Enterprise Java 17"
java-version: 17
suite: -Penterprise-235-tests
- name: "23.4 Enterprise Java 17"
java-version: 17
suite: -Penterprise-234-tests
- name: "23.4 Community Java 17"
java-version: 17
suite: -Pcommunity-234-tests
- name: "23.3 Enterprise Java 17"
java-version: 17
suite: -Penterprise-233-tests
@@ -127,25 +148,19 @@ jobs:
- name: "7.1 Community"
java-version: 11
suite: -Pcommunity-71-tests
- name: "7.0 Enterprise"
java-version: 11
suite: -Penterprise-70-tests
- name: "7.0 Community"
java-version: 11
suite: -Pcommunity-70-tests
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0
- 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
with:
java-version: ${{ matrix.java-version }}
- name: "Login to Docker Hub"
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: "Login to Quay.io"
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
@@ -153,18 +168,59 @@ jobs:
- name: "Build"
run: mvn clean install -B ${{ matrix.suite }}
publish:
name: "Publish artifacts"
check_version:
name: "Check version"
runs-on: ubuntu-latest
needs: [tests]
if: >
contains(github.event.head_commit.message, '[publish]')
outputs:
is_ga: ${{ steps.publish_version.outputs.is_ga }}
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0
- 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
- name: "Check version"
id: publish_version
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "is_ga=true" >> $GITHUB_OUTPUT
echo "GA version detected: $VERSION"
else
echo "is_ga=false" >> $GITHUB_OUTPUT
echo "Non GA version detected: $VERSION"
fi
publish:
name: "Publish artifacts"
runs-on: ubuntu-latest
needs: [tests, check_version]
if: >
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
- name: "Build"
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Set up Maven Central credentials
run: |
mkdir -p ~/.m2
envsubst < ${{ github.workspace }}/.ci.settings.xml > ~/.m2/settings.xml
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
- name: Import GPG key
env:
GPG_TTY: $(tty)
run: |
echo "${{ secrets.GPG_SIGNING_PRIVATE_KEY }}" | gpg --batch --import
echo "use-agent" >> ~/.gnupg/gpg.conf
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
gpg --batch --yes --pinentry-mode loopback --passphrase $GPG_SIGNING_PASSPHRASE --list-keys
- name: "Publish"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: mvn deploy $MAVEN_CLI_OPTS -DskipTests
run: |
mvn --batch-mode clean package gpg:sign central-publishing:publish -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE
+39 -19
View File
@@ -14,6 +14,9 @@ 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
- 2025-07: Alfresco SDK 4.12.0 released
- 2025-03: Alfresco SDK 4.11.0 released
- 2024-11: Alfresco SDK 4.10.0 released
- 2024-08: Alfresco SDK 4.9.0 released
- 2024-03: Alfresco SDK 4.8.0 released
- 2023-11: Alfresco SDK 4.7.0 released
@@ -79,7 +82,7 @@ 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 or SDK 4.8 instead of SDK 4.9.
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.
- 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
@@ -96,24 +99,27 @@ It's also important to remember that:
To get started with **Alfresco SDK 4.9.x** (latest) visit the [Alfresco Documentation](docs/README.md).
#### Documentation about Previous Versions
| SDK Version | Alfresco Enterprise Version | Alfresco Community Version | Documentation |
|-------------|:------------------------------------------------------------------------:|:----------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------|
| SDK 4.9 | 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 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.2.x / 23.3.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.8 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.2.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.7 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.6 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.5 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.4 | Alfresco 7.0.x / 7.1.x / 7.2.x | Alfresco 7.0.x / 7.1.x / 7.2.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.3 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x / 7.1.x | Alfresco 7.0.x / 7.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.2 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x | Alfresco 7.0.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.1 | Alfresco 6.0.x / 6.1.x / 6.2.x | Alfresco 6.0.x / 6.1.x / 6.2.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.1/docs/README.md |
| SDK 4.0 | Alfresco 6.0.x / 6.1.x | Alfresco 6.0.x / 6.1.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.0/docs/README.md |
| SDK 3.1 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html |
| SDK 3.0 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html |
| SDK 2.2 | Alfresco 5.1.x | Alfresco 5.1.x | https://docs.alfresco.com/5.1/concepts/alfresco-sdk-intro.html |
| SDK 2.1 | Alfresco 5.0.1 | Alfresco 5.0.d | https://docs.alfresco.com/sdk2.1/concepts/alfresco-sdk-intro.html |
| SDK 2.0 | Alfresco 5.0.0 | Alfresco 5.0.c | https://docs.alfresco.com/sdk2.0/concepts/alfresco-sdk-intro.html |
| SDK 1.1.1 | Alfresco 4.2.x | Alfresco 4.2.x | https://docs.alfresco.com/4.2/concepts/dev-extensions-maven-sdk-intro.html |
| SDK Version | Alfresco Enterprise Version | Alfresco Community Version | Documentation |
|-------------|:---------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 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 |
| SDK 4.9 | 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 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.2.x / 23.3.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.8 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.2.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.7 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.6 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.5 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.4 | Alfresco 7.0.x / 7.1.x / 7.2.x | Alfresco 7.0.x / 7.1.x / 7.2.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.3 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x / 7.1.x | Alfresco 7.0.x / 7.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.2 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x | Alfresco 7.0.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.1 | Alfresco 6.0.x / 6.1.x / 6.2.x | Alfresco 6.0.x / 6.1.x / 6.2.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.1/docs/README.md |
| SDK 4.0 | Alfresco 6.0.x / 6.1.x | Alfresco 6.0.x / 6.1.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.0/docs/README.md |
| SDK 3.1 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html |
| SDK 3.0 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html |
| SDK 2.2 | Alfresco 5.1.x | Alfresco 5.1.x | https://docs.alfresco.com/5.1/concepts/alfresco-sdk-intro.html |
| SDK 2.1 | Alfresco 5.0.1 | Alfresco 5.0.d | https://docs.alfresco.com/sdk2.1/concepts/alfresco-sdk-intro.html |
| SDK 2.0 | Alfresco 5.0.0 | Alfresco 5.0.c | https://docs.alfresco.com/sdk2.0/concepts/alfresco-sdk-intro.html |
| SDK 1.1.1 | Alfresco 4.2.x | Alfresco 4.2.x | https://docs.alfresco.com/4.2/concepts/dev-extensions-maven-sdk-intro.html |
## Reporting Issues and Community Support
Report issues (and contribute!) [here](https://github.com/Alfresco/alfresco-sdk/issues?milestone=1&state=open) or join us on the [IRC Channel](http://chat.alfresco.com/).
@@ -160,3 +166,17 @@ To test new unreleased (unsupported) features, you can use the following snippet
## For Developers that want to contribute to the SDK
See the [Developers Wiki page](https://github.com/Alfresco/alfresco-sdk/wiki/Developer-Wiki).
## Creating a Release
For detailed instructions on how to create a release of the Alfresco SDK, please see the [RELEASE.md](RELEASE.md) documentation.
### Quick Reference
The release process involves:
1. Update version from SNAPSHOT to final (e.g., `4.12.0-SNAPSHOT``4.12.0`)
2. Commit with message `[publish]` to trigger automated publishing to Maven Central
3. Create a GitHub release tag (e.g., `sdk-4.12.0`) with release notes
4. Update version to next SNAPSHOT (e.g., `4.12.0``4.13.0-SNAPSHOT`)
See [RELEASE.md](RELEASE.md) for complete details, prerequisites, and troubleshooting.
+203
View File
@@ -0,0 +1,203 @@
# Alfresco SDK Release Process
This document describes the process for creating a new release of the Alfresco SDK.
## Overview
The Alfresco SDK uses a semi-automated release process that combines:
- Manual version changes in the POM files
- Automated publishing to Maven Central via GitHub Actions
- Manual creation of GitHub release tags
- Manual version bump to the next SNAPSHOT
## Prerequisites
Before starting a release, ensure you have:
1. **Permissions**: Write access to the Alfresco/alfresco-sdk repository
2. **All tests passing**: The CI pipeline should be green on the master branch
3. **Credentials configured** (for maintainers):
- Maven Central credentials (OSS Sonatype)
- GPG signing key for artifact signing
- These are configured as GitHub secrets:
- `OSS_SONATYPE_USERNAME`
- `OSS_SONATYPE_PASSWORD`
- `GPG_SIGNING_PRIVATE_KEY`
- `GPG_SIGNING_PASSPHRASE`
## Release Steps
### Step 1: Update Version from SNAPSHOT to Release
1. **Update the version** in all `pom.xml` files from SNAPSHOT to the final release version.
Example: When releasing SDK 4.12.0, replace all occurrences of `4.12.0-SNAPSHOT` with `4.12.0`
Files to update:
- `/pom.xml` (root aggregator)
- `/modules/alfresco-rad/pom.xml`
- `/plugins/alfresco-maven-plugin/pom.xml`
- `/archetypes/alfresco-platform-jar-archetype/pom.xml`
- `/archetypes/alfresco-share-jar-archetype/pom.xml`
- `/archetypes/alfresco-allinone-archetype/pom.xml`
- `/archetypes/archetypes-it/pom.xml`
You can use this command to find all pom.xml files that need updating:
```bash
find . -name "pom.xml" -not -path "*/target/*" -not -path "*/.git/*"
```
2. **Commit the changes** with the commit message `[publish]`
The `[publish]` keyword is important as it triggers the GitHub Actions release workflow.
```bash
git add .
git commit -m "[publish] Release version 4.12.0"
git push origin master
```
### Step 2: Automated Publishing
Once you push the commit with `[publish]` in the message:
1. The **GitHub Actions CI workflow** (`.github/workflows/ci.yml`) will automatically:
- Run all tests to ensure everything passes
- Check if the version is a GA (General Availability) release (format: `X.Y.Z`)
- If it's a GA version:
- Build the artifacts
- Sign them with GPG
- Publish to Maven Central using the `central-publishing-maven-plugin`
2. **Monitor the workflow**:
- Go to: https://github.com/Alfresco/alfresco-sdk/actions
- Check the "Alfresco SDK CI" workflow
- Ensure all jobs complete successfully, especially the "Publish artifacts" job
3. **Verify publication**:
- Check Maven Central: https://repo1.maven.org/maven2/org/alfresco/maven/
- Note: It may take a few minutes for artifacts to appear on Maven Central after publication
### Step 3: Create GitHub Release Tag
After successful publication to Maven Central:
1. **Navigate to GitHub Releases**:
- Go to: https://github.com/Alfresco/alfresco-sdk/releases
2. **Create a new release**:
- Click "Draft a new release"
- Tag version: Use the format `sdk-X.Y.Z` (e.g., `sdk-4.12.0`)
- Target: `master` branch
- Release title: `Alfresco SDK X.Y.Z` (e.g., `Alfresco SDK 4.12.0`)
3. **Write release notes**:
- Include a summary of new features, improvements, and bug fixes
- Reference important pull requests and issues
- Mention supported Alfresco versions
- Include any breaking changes or upgrade notes
4. **Publish the release**
### Step 4: Bump Version to Next SNAPSHOT
After creating the GitHub release:
1. **Update version** to the next SNAPSHOT version in all `pom.xml` files
Example: After releasing 4.12.0, update to `4.13.0-SNAPSHOT`
Note: Only update `pom.xml` files, not README documentation (unless the documentation needs updating for other reasons)
2. **Commit and push**:
```bash
git add .
git commit -m "Bump version to 4.13.0-SNAPSHOT"
git push origin master
```
### Step 5: Update Documentation (if needed)
If the release requires documentation updates:
1. Update the **News** section in `README.md` with the new release
2. Update the **Documentation about Previous Versions** table if necessary
3. Update any other relevant documentation
## Release Checklist
Use this checklist when performing a release:
- [ ] All tests are passing on master branch
- [ ] Version updated from SNAPSHOT to release version in all pom.xml files
- [ ] Committed and pushed with `[publish]` message
- [ ] GitHub Actions workflow completed successfully
- [ ] Artifacts verified on Maven Central
- [ ] GitHub release tag created (`sdk-X.Y.Z`)
- [ ] Release notes published on GitHub
- [ ] Version bumped to next SNAPSHOT in all pom.xml files
- [ ] Documentation updated (if necessary)
## Understanding the CI/CD Pipeline
The release automation is defined in `.github/workflows/ci.yml`:
### Key Workflow Jobs:
1. **pre_commit**: Runs pre-commit checks
2. **build**: Builds the application and runs verification
3. **tests**: Runs integration tests against multiple Alfresco versions
4. **check_version**: Triggered when commit message contains `[publish]`
- Validates if version is a GA release (X.Y.Z format)
- Non-GA versions (like SNAPSHOT, RC, etc.) are not published
5. **publish**: Triggered after successful tests when version is GA
- Builds artifacts with source and javadoc
- Signs artifacts with GPG
- Publishes to Maven Central using Central Publishing Maven Plugin
### Maven Profile: `sdk-release`
The release process uses the `sdk-release` Maven profile defined in the root `pom.xml`, which configures:
- **central-publishing-maven-plugin**: For publishing to Maven Central
- **maven-source-plugin**: Attaches source JARs
- **maven-javadoc-plugin**: Attaches Javadoc JARs
- **maven-gpg-plugin**: Signs artifacts
- **maven-release-plugin**: Release management
## Troubleshooting
### Release workflow not triggering
- Ensure commit message contains `[publish]`
- Check that version in pom.xml is in GA format (X.Y.Z, no SNAPSHOT, RC, etc.)
- Verify all tests pass
### GPG signing failures
- Check that `GPG_SIGNING_PRIVATE_KEY` and `GPG_SIGNING_PASSPHRASE` secrets are correctly configured
- Ensure GPG key is valid and not expired
### Maven Central publication failures
- Verify `OSS_SONATYPE_USERNAME` and `OSS_SONATYPE_PASSWORD` credentials are valid
- Check that artifacts meet Maven Central requirements (sources, javadocs, POM metadata)
- Review the Central Publishing Maven Plugin documentation for requirements
### Version conflicts
- Ensure all module pom.xml files have consistent version numbers
- Verify parent version references match
## Additional Resources
- [Maven Central Publishing](https://central.sonatype.org/publish/)
- [Central Publishing Maven Plugin](https://central.sonatype.org/publish/publish-portal-maven/)
- [GPG Signing](https://central.sonatype.org/publish/requirements/gpg/)
- [Alfresco SDK Developer Wiki](https://github.com/Alfresco/alfresco-sdk/wiki/Developer-Wiki)
## Contact
For questions about the release process:
- Open an issue on [GitHub](https://github.com/Alfresco/alfresco-sdk/issues)
- Contact the Alfresco SDK maintainers
@@ -11,7 +11,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>4.14.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -1,6 +1,6 @@
# Alfresco AIO Project - SDK 4.9
# Alfresco AIO Project - SDK 4.11.0
This is an All-In-One (AIO) project for Alfresco SDK 4.9.
This is an All-In-One (AIO) project for Alfresco SDK 4.11.0.
Run with `./run.sh build_start` or `./run.bat build_start` and verify that it
@@ -43,4 +43,4 @@ All the services of the project are now run as docker containers. The run script
# TODO
* Abstract assembly into a dependency so we don't have to ship the assembly in the archetype
* Functional/remote unit tests
* Functional/remote unit tests
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>${artifactId}</artifactId>
<name>Integration Tests Module</name>
<description>Integration Tests module for in-container integration testing - part of AIO - SDK 4.9</description>
<description>Integration Tests module for in-container integration testing - part of AIO - SDK 4.11.0</description>
<packaging>jar</packaging> <!-- Note. this just runs Integration Tests, but it needs to be a JAR otherwise
nothing is compiled (i.e. you cannot set it to pom) -->
@@ -73,4 +73,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>${artifactId}</artifactId>
<name>Alfresco Platform/Repository JAR Module</name>
<description>Platform/Repo JAR Module (to be included in the alfresco.war) - part of AIO - SDK 4.9</description>
<description>Platform/Repo JAR Module (to be included in the alfresco.war) - part of AIO - SDK 4.11.0</description>
<packaging>jar</packaging>
<parent>
@@ -27,4 +27,4 @@
</plugins>
</build>
</project>
</project>
@@ -101,5 +101,13 @@
</endpoint>
</remote>
</config>
<config evaluator="string-compare" condition="Users" replace="true">
<users>
<username-min-length>2</username-min-length>
<password-min-length>3</password-min-length>
<show-authorization-status>false</show-authorization-status>
</users>
<enable-external-users-panel>false</enable-external-users-panel>
</config>
</alfresco-config>
@@ -5,7 +5,7 @@
<artifactId>${artifactId}</artifactId>
<name>Alfresco Share JAR Module</name>
<packaging>jar</packaging>
<description>Sample Share JAR Module (to be included in the share.war) - part of AIO - SDK 4.9</description>
<description>Sample Share JAR Module (to be included in the share.war) - part of AIO - SDK 4.11.0</description>
<parent>
<groupId>${groupId}</groupId>
@@ -36,4 +36,4 @@
</plugins>
</build>
</project>
</project>
@@ -34,7 +34,7 @@ services:
depends_on:
- ${rootArtifactId}-postgres
${rootArtifactId}-postgres:
image: postgres:9.6
image: postgres:16.5
environment:
POSTGRES_DB: alfresco
POSTGRES_USER: alfresco
@@ -45,7 +45,7 @@ services:
volumes:
- ${rootArtifactId}-db-volume:/var/lib/postgresql/data
${rootArtifactId}-ass:
image: alfresco/alfresco-search-services:2.0.3
image: alfresco/alfresco-search-services:2.0.15
environment:
SOLR_ALFRESCO_HOST: ${rootArtifactId}-acs
SOLR_ALFRESCO_PORT: 8080
@@ -60,7 +60,7 @@ services:
- ${rootArtifactId}-ass-volume:/opt/alfresco-search-services/contentstore
- ${rootArtifactId}-ass-volume:/opt/alfresco-search-services/data
${rootArtifactId}-activemq:
image: alfresco/alfresco-activemq:5.16.1
image: alfresco/alfresco-activemq:5.18-jre17-rockylinux8
mem_limit: 1g
ports:
- 8161:8161 # Web Console
@@ -5,8 +5,8 @@
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${version}</version>
<name>AIO - SDK 4.9</name>
<description>All-In-One (AIO) project for SDK 4.9</description>
<name>AIO - SDK 4.14.0-A1</name>
<description>All-In-One (AIO) project for SDK 4.14.0-A1</description>
<packaging>pom</packaging>
<prerequisites>
@@ -12,7 +12,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>4.14.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -1,6 +1,6 @@
# Alfresco ACS JAR Module - SDK 4.9
# Alfresco ACS JAR Module - SDK 4.11.0
This is an ACS project for Alfresco SDK 4.9.
This is an ACS project for Alfresco SDK 4.11.0.
Run with `./run.sh build_start` or `./run.bat build_start` and verify that it
@@ -41,4 +41,4 @@ All the services of the project are now run as docker containers. The run script
# TODO
* Abstract assembly into a dependency so we don't have to ship the assembly in the archetype
* Functional/remote unit tests
* Functional/remote unit tests
@@ -30,7 +30,7 @@ services:
depends_on:
- ${rootArtifactId}-postgres
${rootArtifactId}-postgres:
image: postgres:9.6
image: postgres:16.5
environment:
POSTGRES_DB: alfresco
POSTGRES_USER: alfresco
@@ -41,7 +41,7 @@ services:
volumes:
- ${rootArtifactId}-db-volume:/var/lib/postgresql/data
${rootArtifactId}-ass:
image: alfresco/alfresco-search-services:2.0.3
image: alfresco/alfresco-search-services:2.0.15
environment:
SOLR_ALFRESCO_HOST: ${rootArtifactId}-acs
SOLR_ALFRESCO_PORT: 8080
@@ -56,7 +56,7 @@ services:
- ${rootArtifactId}-ass-volume:/opt/alfresco-search-services/contentstore
- ${rootArtifactId}-ass-volume:/opt/alfresco-search-services/data
${rootArtifactId}-activemq:
image: alfresco/alfresco-activemq:5.16.1
image: alfresco/alfresco-activemq:5.18-jre17-rockylinux8
mem_limit: 1g
ports:
- 8161:8161 # Web Console
@@ -206,8 +206,8 @@ logger.alfresco-repo-workflow.name=org.alfresco.repo.workflow
logger.alfresco-repo-workflow.level=info
# CIFS server debugging
logger.alfresco-smb.protocol.name=org.alfresco.smb.protocol
logger.alfresco-smb.protocol.level=error
logger.alfresco-smb-protocol.name=org.alfresco.smb.protocol
logger.alfresco-smb-protocol.level=error
# FTP server debugging
logger.alfresco-ftp-protocol.name=org.alfresco.ftp.protocol
@@ -385,7 +385,7 @@ logger.alfresco-repo-content-metadata-AbstractMappingMetadataExtracter.level=war
logger.apache-pdfbox-pdmodel-font-PDSimpleFont.name=org.apache.pdfbox.pdmodel.font.PDSimpleFont
logger.apache-pdfbox-pdmodel-font-PDSimpleFont.level=fatal
logger.apache-pdfbox-pdmodel-font-PDFont.name=org.apache.pdfbox.pdmodel.font.PDFont
logger.apache-pdfbox-pdmodel-font-PDFont=fatal
logger.apache-pdfbox-pdmodel-font-PDFont.level=fatal
logger.apache-pdfbox-pdmodel-font-PDCIDFont.name=org.apache.pdfbox.pdmodel.font.PDCIDFont
logger.apache-pdfbox-pdmodel-font-PDCIDFont.level=fatal
@@ -14,7 +14,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>4.14.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -1,6 +1,6 @@
# Alfresco Share JAR Module - SDK 4.9
# Alfresco Share JAR Module - SDK 4.11.0
This is a Share project for Alfresco SDK 4.9.
This is a Share project for Alfresco SDK 4.11.0.
Run with `./run.sh build_start` or `./run.bat build_start` and verify that it
@@ -37,4 +37,4 @@ All the services of the project are now run as docker containers. The run script
# TODO
* Abstract assembly into a dependency so we don't have to ship the assembly in the archetype
* Functional/remote unit tests
* Functional/remote unit tests
@@ -101,5 +101,13 @@
</endpoint>
</remote>
</config>
<config evaluator="string-compare" condition="Users" replace="true">
<users>
<username-min-length>2</username-min-length>
<password-min-length>3</password-min-length>
<show-authorization-status>false</show-authorization-status>
</users>
<enable-external-users-panel>false</enable-external-users-panel>
</config>
</alfresco-config>
+1 -1
View File
@@ -17,7 +17,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>4.14.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+4 -4
View File
@@ -1,7 +1,7 @@
---
Title: Alfresco SDK 4.9
Title: Alfresco SDK 4.11.0
Added: v3.0.0
Last reviewed: 2024-08-30
Last reviewed: 2025-03-18
---
# Alfresco SDK 4
@@ -18,7 +18,7 @@ Alfresco SDK 4.x is released under [Apache License version 2.0](http://www.apach
in Community Edition and Enterprise Edition. If you're an Enterprise customer, please check the [Alfresco SDK Support status](https://www.alfresco.com/alfresco-product-support-status)
for the version you're using. If your version is in Limited or Full Support and you need help, contact our Support team [http://support.alfresco.com](http://support.alfresco.com/).
Alfresco SDK 4.9 is a minor update to the SDK and provides support for Alfresco 23.3.x.
Alfresco SDK 4.11.0 is a minor update to the SDK and provides support for Alfresco 25.1.x.
The 4.0 release takes advantage of Semantic Versioning ([SEMVER](http://semver.org/)), which means that this new release is not directly compatible with the
previous releases of the SDK.
@@ -55,4 +55,4 @@ code into place.
* [How to configure and use JRebel](advanced-topics/hot-reloading/jrebel.md)
* [How to configure and use Hotswap Agent](advanced-topics/hot-reloading/hotswap-agent.md)
* [Switching Alfresco Content Services database](advanced-topics/switching-dbs.md)
* [Troubleshooting](troubleshooting.md)
* [Troubleshooting](troubleshooting.md)
+6 -3
View File
@@ -118,7 +118,7 @@ Choose archetype:
* `org.alfresco.maven.archetype:alfresco-platform-jar-archetype`
* `org.alfresco.maven.archetype:alfresco-share-jar-archetype`
3. Choose the latest version, such as 4.9.0.
3. Choose the latest version, such as 4.12.0.
```
Choose org.alfresco.maven.archetype:alfresco-allinone-archetype version:
@@ -144,6 +144,9 @@ Choose org.alfresco.maven.archetype:alfresco-allinone-archetype version:
20: 4.7.0
21: 4.8.0
22: 4.9.0
23: 4.10.0
24: 4.11.0
25: 4.12.0
```
4. Next you will be prompted for additional values, like groupId, artifactId, and package, as shown below:
@@ -172,7 +175,7 @@ If everything has been configured correctly, you should see something similar to
```
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: alfresco-allinone-archetype:4.9.0
[INFO] Using following parameters for creating project from Archetype: alfresco-allinone-archetype:4.12.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.acme
[INFO] Parameter: artifactId, Value: my-all-in-one
@@ -210,4 +213,4 @@ In the terminal window, use:
If this is the first time you are doing this, it will take a while for Maven to download all the required dependencies and for Docker to download all the
required images.
For more information about how to work with the projects, please visit [Working with generated projects](working-with-generated-projects/README.md).
For more information about how to work with the projects, please visit [Working with generated projects](working-with-generated-projects/README.md).
+4 -4
View File
@@ -10,7 +10,7 @@ Alfresco Share 6.
This was a mayor release oriented to support Alfresco 6, so it is not compatible with previous versions of the SDK.
Alfresco SDK 4.9 extends the support to Alfresco 23.3.
Alfresco SDK 4.12.0 extends the support to Alfresco 25.2.
Use an older SDK version for Alfresco 6.
## Embracing containers and Docker
@@ -64,13 +64,13 @@ environment can be more similar to a real one, including whatever other service
Alfresco SDK 4.1 provides support for Alfresco 6.2.x.
## Support for Alfresco 7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x. 23.1.x, 23.2.x and 23.3.x
## Support for 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 and 25.2.x
Alfresco SDK 4.9 provides support for Alfresco 7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x, 23.1.x, 23.2.x and 23.3.x.
Alfresco SDK 4.12.0 provides support for 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 and 25.2.x.
## Support for Java 17
[Java 17](https://openjdk.java.net/projects/jdk/17/) is the latest stable long term (8 year support) version after Java 11. Alfresco 7.3.x already offers
support for this version of the Java platform.
Alfresco SDK 4.9 has been modified to add support for Java 17 as well. This way, if you're working as a developer in customisations for Alfresco 7.3.x or 7.4.x , 23.1.x, 23.2.x or 23.3.x you can
Alfresco SDK 4.9 has been modified to add support for Java 17 as well. This way, if you're working as a developer in customisations for Alfresco 7.3.x or 7.4.x , 23.1.x, 23.2.x, 23.3.x or 23.4.x you can
now use SDK 4.9 (or greater) + JDK 17 to work on them. The Apache Maven plugins included in the archetypes has been updated to avoid any issue with Java 17.
@@ -78,7 +78,7 @@ my-all-in-one-project mbergljung$ ./run.sh build_start
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] AIO - SDK 4.9
[INFO] AIO - SDK 4.11.0
[INFO] Alfresco Platform/Repository JAR Module
[INFO] Alfresco Share JAR Module
[INFO] Integration Tests Module
@@ -88,7 +88,7 @@ my-all-in-one-project mbergljung$ ./run.sh build_start
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] AIO - SDK 4.9 ...................................... SUCCESS [ 0.680 s]
[INFO] AIO - SDK 4.11.0 ...................................... SUCCESS [ 0.680 s]
[INFO] Alfresco Platform/Repository JAR Module ............ SUCCESS [ 5.461 s]
[INFO] Alfresco Share JAR Module .......................... SUCCESS [ 0.557 s]
[INFO] Integration Tests Module ........................... SUCCESS [ 0.900 s]
@@ -250,4 +250,4 @@ Removing docker_my-all-in-one-project-postgres_1 ... done
Removing docker_my-all-in-one-project-ass_1 ... done
Removing docker_my-all-in-one-project-share_1 ... done
Removing network docker_default
```
```
+1 -3
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>4.14.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -38,7 +38,6 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.3.37</version>
</dependency>
<!-- Access to JUnit runner classes -->
@@ -50,5 +49,4 @@
</dependency>
</dependencies>
</project>
+6 -6
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>4.14.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -92,7 +92,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<version>4.10.0</version>
<version>4.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
@@ -122,7 +122,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
<version>2.17.0</version>
</dependency>
<dependency>
<groupId>org.alfresco</groupId>
@@ -135,9 +135,9 @@
<version>0.6.0</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.18.0</version>
</dependency>
<dependency>
<groupId>org.twdata.maven</groupId>
@@ -17,7 +17,7 @@
*/
package org.alfresco.maven.plugin;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.net.telnet.TelnetClient;
import org.apache.http.HttpHost;
import org.apache.http.HttpStatus;
@@ -20,7 +20,7 @@ package org.alfresco.maven.plugin;
import org.alfresco.maven.plugin.config.ModuleDependency;
import org.alfresco.maven.plugin.config.TomcatDependency;
import org.alfresco.maven.plugin.config.TomcatWebapp;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
@@ -18,7 +18,7 @@
package org.alfresco.maven.plugin.config;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
/**
* <p>
+143 -44
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>4.14.0-A1</version>
<name>Alfresco SDK</name>
<description>This aggregator Project builds all modules required for the Alfresco SDK</description>
<packaging>pom</packaging>
@@ -30,7 +30,7 @@
<connection>scm:git:${scm.url.base}.git</connection>
<developerConnection>scm:git:${scm.url.base}</developerConnection>
<url>${scm.url.base}</url>
<tag>alfresco-sdk-aggregator-4.9.0</tag>
<tag>alfresco-sdk-aggregator-${project.version}</tag>
</scm>
<!-- All the modules of the Alfresco SDK -->
@@ -44,7 +44,7 @@
<module>archetypes/alfresco-share-jar-archetype</module>
<module>archetypes/alfresco-allinone-archetype</module>
<module>archetypes/archetypes-it</module>
</modules>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -56,17 +56,17 @@
<alfresco.sdk.tests.exclude>*/*-enterprise*/*</alfresco.sdk.tests.exclude>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.3.0</alfresco.platform.version>
<alfresco.platform.version>25.3.0-A.15</alfresco.platform.version>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
<alfresco.share.docker.version>23.3.0</alfresco.share.docker.version>
<alfresco.share.docker.version>25.3.0-A.15</alfresco.share.docker.version>
<!--
The following value is now obtained by looking at the
- alfresco-community-share.version (eg. https://github.com/Alfresco/acs-community-packaging/blob/23.2.1/pom.xml#L17)
- alfresco-community-share.version (eg. https://github.com/Alfresco/acs-community-packaging/blob/25.1.0/pom.xml#L17)
or
- alfresco-enterprise-share.version (eg. https://github.com/Alfresco/acs-packaging/blob/23.2.1/pom.xml#L18)
- alfresco-enterprise-share.version (eg. https://github.com/Alfresco/acs-packaging/blob/25.1.0/pom.xml#L18)
for the GitHub Tag related to the above Docker version.
-->
<alfresco.share.version>23.3.0.85</alfresco.share.version>
<alfresco.share.version>25.3.0.36</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>
<keystore.settings>
@@ -94,32 +94,6 @@
</distributionManagement>
</profile>
<!-- 7.0 -->
<profile>
<id>community-70-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>7.0.1-A7</alfresco.platform.version>
<alfresco.share.docker.version>7.0.1.3</alfresco.share.docker.version>
<alfresco.share.version>7.0.1.3</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-70-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>7.0.1.7</alfresco.platform.version>
<alfresco.share.docker.version>7.0.1.3</alfresco.share.docker.version>
<alfresco.share.version>7.0.1.3</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>
<!-- 7.1 -->
<profile>
<id>community-71-tests</id>
@@ -281,8 +255,8 @@
<id>community-233-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.3.0</alfresco.platform.version>
<alfresco.share.docker.version>23.3.0</alfresco.share.docker.version>
<alfresco.platform.version>23.3.3</alfresco.platform.version>
<alfresco.share.docker.version>23.3.3</alfresco.share.docker.version>
<alfresco.share.version>23.3.0.85</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>
@@ -293,8 +267,8 @@
<id>enterprise-233-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.3.0</alfresco.platform.version>
<alfresco.share.docker.version>23.3.0</alfresco.share.docker.version>
<alfresco.platform.version>23.3.3</alfresco.platform.version>
<alfresco.share.docker.version>23.3.3</alfresco.share.docker.version>
<alfresco.share.version>23.3.0.85</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>
@@ -302,14 +276,138 @@
</properties>
</profile>
<!-- 23.4 -->
<profile>
<id>community-234-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.4.1</alfresco.platform.version>
<alfresco.share.docker.version>23.4.1</alfresco.share.docker.version>
<alfresco.share.version>23.4.0.46</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-234-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.4.1</alfresco.platform.version>
<alfresco.share.docker.version>23.4.1</alfresco.share.docker.version>
<alfresco.share.version>23.4.0.46</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>
<!-- 23.5 -->
<profile>
<id>enterprise-235-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.5.0</alfresco.platform.version>
<alfresco.share.docker.version>23.5.0</alfresco.share.docker.version>
<alfresco.share.version>23.5.0.11</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>
<properties>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>25.1.0</alfresco.platform.version>
<alfresco.share.docker.version>25.1.0</alfresco.share.docker.version>
<alfresco.share.version>25.1.0.56</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-251-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>25.1.0</alfresco.platform.version>
<alfresco.share.docker.version>25.1.0</alfresco.share.docker.version>
<alfresco.share.version>25.1.0.56</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.2 -->
<profile>
<id>community-252-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>25.2.0</alfresco.platform.version>
<alfresco.share.docker.version>25.2.0</alfresco.share.docker.version>
<alfresco.share.version>25.2.0.46</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-252-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>25.2.0</alfresco.platform.version>
<alfresco.share.docker.version>25.2.0</alfresco.share.docker.version>
<alfresco.share.version>25.2.0.46</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>
<properties>
<maven.site.url>https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-sdk-aggregator/latest</maven.site.url>
<maven.release.goals>deploy site-deploy</maven.release.goals>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.8.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
@@ -326,6 +424,7 @@
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
</execution>
</executions>
@@ -523,7 +622,7 @@
<distributionManagement>
<repository>
<id>alfresco-public</id>
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
<url>https://nexus.alfresco.com/nexus/repository/releases</url>
</repository>
<snapshotRepository>
<id>alfresco-public-snapshots</id>
@@ -612,4 +711,4 @@
<timezone>+1</timezone>
</contributor>
</contributors>
</project>
</project>