Compare commits

...
Author SHA1 Message Date
vivekkr0311 067e12c547 [ACS-9977]: [publish] automatic tag creation work, adding git command 2025-08-08 13:34:22 +05:30
vivekkr0311 d948ab5bb5 [ACS-9977]: [publish] automatic tag creation work, adding git command 2025-08-08 13:13:02 +05:30
vivekkr0311 3f0971259d [ACS-9977]: [publish] automatic tag creation work, adding git command 2025-08-08 12:55:06 +05:30
alfresco-build db0a9f4bb1 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-08 07:08:08 +00:00
alfresco-build 113782e28b [maven-release-plugin][skip ci] prepare release 4.13.0-A10 2025-08-08 07:08:06 +00:00
vivekkr0311 4b90f25fa4 [ACS-9977]: [publish] automatic tag creation work 2025-08-08 12:21:13 +05:30
alfresco-build c5337331f2 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-08 06:47:16 +00:00
alfresco-build 584d3db521 [maven-release-plugin][skip ci] prepare release 4.13.0-A9 2025-08-08 06:47:14 +00:00
vivekkr0311 861768f574 [ACS-9977]: [publish] test commit 2025-08-08 11:53:41 +05:30
alfresco-build 55ef9f42a9 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-05 09:21:29 +00:00
alfresco-build e224f928d4 [maven-release-plugin][skip ci] prepare release 4.13.0-A8 2025-08-05 09:21:27 +00:00
vivekkr0311 6c741bfdd8 [ACS-9977]: [publish] tag creation fix 2025-08-05 14:35:01 +05:30
vivekkr0311 12c933f9e7 [ACS-9977]: [publish] tag creation fix 2025-08-05 14:19:18 +05:30
alfresco-build 94aa4a0e55 [maven-release-plugin][skip ci] prepare for next development iteration 2025-08-05 07:40:53 +00:00
alfresco-build 52af85d379 [maven-release-plugin][skip ci] prepare release 4.13.0-A7 2025-08-05 07:40:51 +00:00
vivekkr0311 4343b803c3 [ACS-9977]: [publish] tag creation work 2025-08-05 12:54:01 +05:30
vivekkr0311 bd92f4439f [ACS-9977]: [publish] tag creation work 2025-08-05 12:29:32 +05:30
vivekkr0311 9caab17f76 [ACS-9977]: [publish] tag creation work 2025-08-05 12:03:52 +05:30
vivekkr0311 b051556dad [ACS-9977]: [publish] tag creation work 2025-08-05 12:03:36 +05:30
vivekkr0311 933ae6fe90 [ACS-9977]: [publish] tag creation work 2025-08-05 11:40:50 +05:30
vivekkr0311 ad2f0101df [ACS-9977]: [publish] tag creation fix work 2025-08-04 15:00:35 +05:30
vivekkr0311 6242a09f12 [ACS-9977]: [publish] tag creation fix work 2025-08-04 13:20:14 +05:30
vivekkr0311 bab85f4992 [ACS-9977]: [publish] tag creation fix work 2025-08-04 12:56:35 +05:30
vivekkr0311 da8b7c4577 [ACS-9977]: [publish] tag creation fix work 2025-08-04 12:37:52 +05:30
vivekkr0311 feee2e2fe1 [ACS-9977]: [publish] automatic release tag fix work 2025-07-31 17:54:17 +05:30
vivekkr0311 7b6665ca26 [ACS-9977]: [publish] automatic release tag fix work 2025-07-31 17:26:44 +05:30
vivekkr0311 1a1ea42227 [ACS-9977]: [publish] automatic release tag fix work 2025-07-31 17:08:34 +05:30
vivekkr0311 782aa562e7 [ACS-9977]:[publish] alfresco-build-tool version update in ci.yml 2025-07-31 13:53:36 +05:30
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
10 changed files with 46 additions and 35 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>
+28 -22
View File
@@ -19,13 +19,16 @@ env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}
GIT_USERNAME: ${{ secrets.BOT_GITHUB_USERNAME }}
GIT_PASSWORD: ${{ secrets.BOT_GITHUB_TOKEN }}
GIT_EMAIL: ${{ secrets.BOT_GITHUB_EMAIL }}
GITHUB_ACTIONS_DEPLOY_TIMEOUT: 90
jobs:
pre_commit:
runs-on: ubuntu-latest
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.28.1
veracode_sca:
name: "Veracode - Source Clear Scan (SCA)"
@@ -35,11 +38,11 @@ jobs:
github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.28.1
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.28.1
- 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@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v8.28.1
continue-on-error: true
with:
srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}
@@ -54,7 +57,7 @@ jobs:
-B -q -e -fae -V -DinstallAtEnd=true -U
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.28.1
- name: "Build"
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: "Verify"
@@ -150,8 +153,8 @@ jobs:
suite: -Pcommunity-71-tests
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.28.1
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.28.1
with:
java-version: ${{ matrix.java-version }}
- name: "Login to Docker Hub"
@@ -176,24 +179,17 @@ jobs:
contains(github.event.head_commit.message, '[publish]')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.28.1
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.28.1
- name: "Build"
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Set up Maven Central credentials
run: |
echo "<settings xmlns=\"http://maven.apache.org/SETTINGS/1.0.0\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd\">
<servers>
<server>
<id>central</id>
<username>${{ secrets.MAVEN_CENTRAL_USERNAME }}</username>
<password>${{ secrets.MAVEN_CENTRAL_PASSWORD }}</password>
</server>
</servers>
</settings>" > ~/.m2/settings.xml
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)
@@ -204,6 +200,16 @@ jobs:
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
gpg --batch --yes --pinentry-mode loopback --passphrase $GPG_SIGNING_PASSPHRASE --list-keys
- name: "Publish"
id: publish
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
mvn --batch-mode clean package gpg:sign central-publishing:publish -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE
- name: "Create release tag"
if: success() && steps.publish.outcome == 'success'
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout | sed 's/-SNAPSHOT//')
ARTIFACT_ID=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)
git config --global user.name "${GIT_USERNAME:-github-actions[bot]}"
git config --global user.email "${GIT_EMAIL:-github-actions[bot]@users.noreply.github.com}"
git tag "$ARTIFACT_ID"-"$VERSION"
git push origin "$ARTIFACT_ID"-"$VERSION"
@@ -11,7 +11,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.12.0</version>
<version>4.13.0-A12-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -5,8 +5,8 @@
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${version}</version>
<name>AIO - SDK 4.12.0</name>
<description>All-In-One (AIO) project for SDK 4.12.0</description>
<name>AIO - SDK 4.13.0-A7-SNAPSHOT</name>
<description>All-In-One (AIO) project for SDK 4.13.0-A7-SNAPSHOT</description>
<packaging>pom</packaging>
<prerequisites>
@@ -12,7 +12,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.12.0</version>
<version>4.13.0-A12-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -14,7 +14,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.12.0</version>
<version>4.13.0-A12-SNAPSHOT</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.12.0</version>
<version>4.13.0-A12-SNAPSHOT</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.12.0</version>
<version>4.13.0-A12-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.12.0</version>
<version>4.13.0-A12-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+5 -5
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.12.0</version>
<version>4.13.0-A12-SNAPSHOT</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.12.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>
@@ -73,7 +73,7 @@
-Dencryption.keystore.type=JCEKS -Dencryption.cipherAlgorithm=AES/CBC/PKCS5Padding -Dencryption.keyAlgorithm=AES -Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore -Dmetadata-keystore.password=mp6yc0UD9e -Dmetadata-keystore.aliases=metadata -Dmetadata-keystore.metadata.password=oKIWzVdEdA -Dmetadata-keystore.metadata.algorithm=AES
</keystore.settings>
<test.acs.endpoint.path/>
<test.acs.endpoint.path />
<scm.url.base>https://github.com/Alfresco/alfresco-sdk</scm.url.base>
</properties>
@@ -437,7 +437,7 @@
<preparationGoals>clean install</preparationGoals>
<goals>${maven.release.goals}</goals>
<autoVersionSubmodules>true</autoVersionSubmodules>
<releaseProfiles>sdk-release,enterprise-tests</releaseProfiles>
<releaseProfiles>sdk-release</releaseProfiles>
</configuration>
</plugin>
<plugin>