Compare commits

..
Author SHA1 Message Date
cezary-witkowski 63e24bc7b5 [ACS-9960] Use commons-lang 3.18. Bump repository dependency from 25.2.0 to 25.3.0-A.8. 2025-09-26 08:27:24 +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
16 changed files with 115 additions and 48 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>
+18 -1
View File
@@ -73,12 +73,21 @@ 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
@@ -171,6 +180,13 @@ jobs:
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.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)
@@ -182,4 +198,5 @@ jobs:
gpg --batch --yes --pinentry-mode loopback --passphrase $GPG_SIGNING_PASSPHRASE --list-keys
- name: "Publish"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: mvn --batch-mode clean deploy -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE
run: |
mvn --batch-mode clean package gpg:sign central-publishing:publish -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE
+14 -1
View File
@@ -163,4 +163,17 @@ To test new unreleased (unsupported) features, you can use the following snippet
- Alfresco Enterprise Docker images are hosted at [Quay.io](https://quay.io/). Its configuration process is described in detail in [How to configure private Alfresco Docker registry](docs/advanced-topics/working-with-enterprise/enterprise-docker-registry.md).
## For Developers that want to contribute to the SDK
See the [Developers Wiki page](https://github.com/Alfresco/alfresco-sdk/wiki/Developer-Wiki).
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.11.0, replacing all the occurrences of 4.11.0-SNAPSHOT with 4.11.0)
- Commit and push changes to GitHub with the commit message [publish], then it will automatically publish your artifacts 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.11.0 with 4.12.0-SNAPSHOT (in pom.xml, not in READMEs - if not needed)
3- Commit and push on GitHub
@@ -11,7 +11,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.11.0</version>
<version>4.13.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -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.11.0</name>
<description>All-In-One (AIO) project for SDK 4.11.0</description>
<name>AIO - SDK 4.13.0-A1</name>
<description>All-In-One (AIO) project for SDK 4.13.0-A1</description>
<packaging>pom</packaging>
<prerequisites>
@@ -12,7 +12,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.11.0</version>
<version>4.13.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -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
@@ -14,7 +14,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.11.0</version>
<version>4.13.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.11.0</version>
<version>4.13.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+1 -2
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.11.0</version>
<version>4.13.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -49,5 +49,4 @@
</dependency>
</dependencies>
</project>
+5 -5
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.11.0</version>
<version>4.13.0-A1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -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>
@@ -167,4 +167,4 @@
</plugins>
</reporting>
</project>
</project>
@@ -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>
+57 -24
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.11.0</version>
<version>4.13.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.11.0</tag>
<tag>alfresco-sdk-aggregator-4.13.0-A1</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,9 +56,9 @@
<alfresco.sdk.tests.exclude>*/*-enterprise*/*</alfresco.sdk.tests.exclude>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>25.1.0</alfresco.platform.version>
<alfresco.platform.version>25.3.0-A.8</alfresco.platform.version>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
<alfresco.share.docker.version>25.1.0</alfresco.share.docker.version>
<alfresco.share.docker.version>25.3.0-A.8</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/25.1.0/pom.xml#L17)
@@ -66,7 +66,7 @@
- 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>25.1.0.56</alfresco.share.version>
<alfresco.share.version>25.3.0.25</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>
@@ -302,6 +302,20 @@
</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>
@@ -328,16 +342,46 @@
</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>
<distributionManagement>
<repository>
<id>central-releases-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<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>
@@ -385,17 +429,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>central-releases-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
@@ -678,4 +711,4 @@
<timezone>+1</timezone>
</contributor>
</contributors>
</project>
</project>