File tree Expand file tree Collapse file tree 3 files changed +15
-27
lines changed
Expand file tree Collapse file tree 3 files changed +15
-27
lines changed Original file line number Diff line number Diff line change 5959 ]
6060
6161 - name : Deploy Release
62- run : mvn -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
62+ run : mvn deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
6363 shell : bash
6464 env :
6565 PGP_KEY_PASSWORD : ${{ secrets.PGP_KEY_PASSWORD }}
Original file line number Diff line number Diff line change 5959 ]
6060
6161 - name : Deploy Snapshot
62- run : mvn -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
62+ run : mvn deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
6363 shell : bash
6464 env :
6565 PGP_KEY_PASSWORD : ${{ secrets.PGP_KEY_PASSWORD }}
Original file line number Diff line number Diff line change 390390 </execution >
391391 </executions >
392392 </plugin >
393+ <plugin >
394+ <groupId >org.apache.maven.plugins</groupId >
395+ <artifactId >maven-jar-plugin</artifactId >
396+ <version >3.4.2</version >
397+ </plugin >
393398 <plugin >
394399 <groupId >org.apache.maven.plugins</groupId >
395400 <artifactId >maven-javadoc-plugin</artifactId >
538543 <plugin >
539544 <groupId >org.apache.maven.plugins</groupId >
540545 <artifactId >maven-deploy-plugin</artifactId >
541- <version >3.1.2</version >
542- <configuration >
543- <skip >true</skip >
544- </configuration >
545- </plugin >
546- <plugin >
547- <groupId >org.sonatype.central</groupId >
548- <artifactId >central-publishing-maven-plugin</artifactId >
549- <version >0.8.0</version >
550- <executions >
551- <execution >
552- <id >deploy-artifacts</id >
553- <phase >deploy</phase >
554- <goals >
555- <goal >publish</goal >
556- </goals >
557- </execution >
558- </executions >
559- <extensions >true</extensions >
560- <configuration >
561- <publishingServerId >central</publishingServerId >
562- <deploymentName >Nitrite - ${project.version} </deploymentName >
563- <autoPublish >true</autoPublish >
564- <waitUntil >published</waitUntil >
565- </configuration >
546+ <version >3.1.4</version >
566547 </plugin >
567548 </plugins >
568549 </build >
569550
551+ <distributionManagement >
552+ <snapshotRepository >
553+ <id >central</id >
554+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
555+ </snapshotRepository >
556+ </distributionManagement >
557+
570558 <repositories >
571559 <repository >
572560 <name >Central Portal Snapshots</name >
You can’t perform that action at this time.
0 commit comments