Skip to content

Commit ab00005

Browse files
authored
Merge pull request #356 from WDAqua/release-plugin-changes
Extend central-publishing-maven-plugin to automatically publish artif…
2 parents 68b5783 + 434d61e commit ab00005

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
echo "No artifacts to be released."
4242
else
4343
echo "Releasing artifacts: $ARTIFACTS_TO_BE_RELEASED"
44-
mvn clean deploy -Dcentral.publish=true -Dgpg.keyname="$MAVEN_GPG_KEYNAME" -pl "$ARTIFACTS_TO_BE_RELEASED"
44+
mvn clean deploy -Dgpg.keyname="$MAVEN_GPG_KEYNAME" -pl "$ARTIFACTS_TO_BE_RELEASED"
4545
fi
4646
env:
4747
MAVEN_TOKEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}

qanary_commons/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@
401401
<extensions>true</extensions>
402402
<configuration>
403403
<publishingServerId>central</publishingServerId>
404+
<autoPublish>true</autoPublish>
404405
</configuration>
405406
</plugin>
406407

@@ -486,7 +487,7 @@
486487
<complianceLevel>1.8</complianceLevel>
487488
<source>1.8</source>
488489
<target>1.8</target>
489-
<showWeaveInfo>true</showWeaveInfo>
490+
<showWeaveInfo>false</showWeaveInfo>
490491
<verbose>true</verbose>
491492
<Xlint>ignore</Xlint>
492493
<encoding>UTF-8</encoding>

qanary_component-parent/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
<extensions>true</extensions>
216216
<configuration>
217217
<publishingServerId>central</publishingServerId>
218+
<autoPublish>true</autoPublish>
218219
</configuration>
219220
</plugin>
220221

qanary_component-template/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@
231231
<extensions>true</extensions>
232232
<configuration>
233233
<publishingServerId>central</publishingServerId>
234+
<autoPublish>true</autoPublish>
234235
</configuration>
235236
</plugin>
236237

qanary_pipeline-template/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@
386386
<extensions>true</extensions>
387387
<configuration>
388388
<publishingServerId>central</publishingServerId>
389+
<autoPublish>true</autoPublish>
389390
</configuration>
390391
</plugin>
391392

0 commit comments

Comments
 (0)