File tree Expand file tree Collapse file tree 2 files changed +33
-8
lines changed
Expand file tree Collapse file tree 2 files changed +33
-8
lines changed Original file line number Diff line number Diff line change 5959 ]
6060
6161 - name : Deploy Snapshot
62- run : mvn deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
62+ run : mvn deploy -DdeploySnapshots=true - 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 544544 <groupId >org.apache.maven.plugins</groupId >
545545 <artifactId >maven-deploy-plugin</artifactId >
546546 <version >3.1.4</version >
547+ <configuration >
548+ <skip >true</skip >
549+ </configuration >
547550 </plugin >
548551 </plugins >
549552 </build >
550553
551- <distributionManagement >
552- <snapshotRepository >
553- <id >central</id >
554- <url >https://central.sonatype.com/repository/maven-snapshots/</url >
555- </snapshotRepository >
556- </distributionManagement >
557-
558554 <repositories >
559555 <repository >
560556 <name >Central Portal Snapshots</name >
569565 </repository >
570566 </repositories >
571567
568+ <profiles >
569+ <profile >
570+ <id >snapshots</id >
571+ <activation >
572+ <property >
573+ <name >deploySnapshots</name >
574+ </property >
575+ </activation >
576+ <build >
577+ <plugins >
578+ <plugin >
579+ <groupId >org.apache.maven.plugins</groupId >
580+ <artifactId >maven-deploy-plugin</artifactId >
581+ <version >3.1.4</version >
582+ <configuration >
583+ <skip >false</skip >
584+ </configuration >
585+ </plugin >
586+ </plugins >
587+ </build >
588+ <distributionManagement >
589+ <snapshotRepository >
590+ <id >central</id >
591+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
592+ </snapshotRepository >
593+ </distributionManagement >
594+ </profile >
595+ </profiles >
596+
572597</project >
You can’t perform that action at this time.
0 commit comments