[publish] release 4.11.0-A2

This commit is contained in:
Manish Kumar
2025-04-12 22:35:05 +05:30
parent d866e95920
commit 43b5991e51
2 changed files with 19 additions and 5 deletions

View File

@@ -182,4 +182,4 @@ 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 clean package javadoc:jar source:jar gpg:sign deploy:deploy -DskipTests -Dgpg.passphrase=${GPG_SIGNING_PASSPHRASE}
run: mvn --batch-mode clean deploy -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE

22
pom.xml
View File

@@ -330,10 +330,12 @@
<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>
<distributionManagement>
<repository>
<id>central-releases-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
@@ -352,10 +354,22 @@
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
</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>