Skip to content

Commit 3cd573a

Browse files
committed
fixing deploy issue - 24
1 parent 7f857a4 commit 3cd573a

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ jobs:
126126
gpg --list-secret-keys --keyid-format LONG
127127
- name: Deploy with Maven
128128
env:
129-
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
130-
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
129+
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
130+
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
131131
run: mvn deploy -ntp -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Drevision=HEAD-SNAPSHOT -P release
132132

133133
maven-deploy-main:
@@ -185,7 +185,7 @@ jobs:
185185
gpg --list-secret-keys --keyid-format LONG
186186
- name: Deploy with Maven
187187
env:
188-
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
189-
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
188+
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
189+
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
190190
run: mvn deploy -ntp -P release -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Daether.checksums.algorithms=MD5 -Drevision=${{ steps.project.outputs.version }} -s ./.github/workflows/settings.xml -Prelease
191191

malio-processor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@
405405
<publishingServerId>central</publishingServerId>
406406
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
407407
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
408-
<autoPublish>false</autoPublish>
408+
<autoPublish>true</autoPublish>
409409
</configuration>
410410
</plugin>
411411
<plugin>

malio/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<publishingServerId>central</publishingServerId>
166166
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
167167
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
168-
<autoPublish>false</autoPublish>
168+
<autoPublish>true</autoPublish>
169169
</configuration>
170170
</plugin>
171171
<plugin>

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@
224224
</profile>
225225
<profile>
226226
<id>release</id>
227-
<!-- <modules>-->
228-
<!-- <module>malio</module>-->
229-
<!-- <module>malio-processor</module>-->
230-
<!-- </modules>-->
227+
<modules>
228+
<module>malio</module>
229+
<module>malio-processor</module>
230+
</modules>
231231
<build>
232232
<pluginManagement>
233233
<plugins>
@@ -261,7 +261,7 @@
261261
<publishingServerId>central</publishingServerId>
262262
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
263263
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
264-
<autoPublish>false</autoPublish>
264+
<autoPublish>true</autoPublish>
265265
<waitUntil>published</waitUntil>
266266
</configuration>
267267
</plugin>
@@ -327,7 +327,7 @@
327327
<publishingServerId>central</publishingServerId>
328328
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
329329
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
330-
<autoPublish>false</autoPublish>
330+
<autoPublish>true</autoPublish>
331331
</configuration>
332332
</plugin>
333333
<plugin>

0 commit comments

Comments
 (0)