Skip to content

Commit 44880d5

Browse files
committed
Add central.publishing.skip property to Maven modules
Introduces the central.publishing.skip property to all relevant pom.xml files to control publishing behavior for each module. Updates the deploy workflow to include turing-aem/aem-commons in the published packages.
1 parent 7613266 commit 44880d5

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
9494
- name: Publish package
9595
run: |
96-
mvn --batch-mode -pl turing-commons,turing-java-sdk -P release -am deploy -Dgpg.passphrase="${GPG_PASSPHRASE}"
96+
mvn --batch-mode -pl turing-commons,turing-java-sdk,turing-aem/aem-commons -P release -am deploy -Dgpg.passphrase="${GPG_PASSPHRASE}"
9797
# cd turing-js-sdk/js-sdk-lib
9898
# npm publish
9999
env:

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<maven.deploy.skip>true</maven.deploy.skip>
4242
<gpg.keyname>30AA85DC937DA16691466FE2A0CCF43371503F2D</gpg.keyname>
4343
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
44+
<central.publishing.skip>true</central.publishing.skip>
4445
</properties>
4546
<build>
4647
<plugins>

turing-aem/aem-commons/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<maven.compiler.source>21</maven.compiler.source>
1919
<maven.compiler.target>21</maven.compiler.target>
2020
<maven.deploy.skip>false</maven.deploy.skip>
21+
<central.publishing.skip>false</central.publishing.skip>
2122
</properties>
2223
<dependencies>
2324
<dependency>

turing-aem/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<maven.compiler.source>21</maven.compiler.source>
2020
<maven.compiler.target>21</maven.compiler.target>
2121
<maven.deploy.skip>true</maven.deploy.skip>
22+
<central.publishing.skip>true</central.publishing.skip>
2223
</properties>
2324
<modules>
2425
<module>aem-commons</module>

turing-commons/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<maven.compiler.source>21</maven.compiler.source>
2525
<maven.compiler.target>21</maven.compiler.target>
2626
<maven.deploy.skip>false</maven.deploy.skip>
27+
<central.publishing.skip>false</central.publishing.skip>
2728
</properties>
2829
<dependencies>
2930
<dependency>

turing-java-sdk/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<maven.compiler.source>11</maven.compiler.source>
2020
<maven.compiler.target>11</maven.compiler.target>
2121
<maven.deploy.skip>false</maven.deploy.skip>
22+
<central.publishing.skip>false</central.publishing.skip>
2223
</properties>
2324
<dependencies>
2425
<dependency>

0 commit comments

Comments
 (0)