File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
5252 - name : Publish package
5353 run : |
54- ./mvnw -B verify nexus-staging:deploy -P deploy && \
55- ./mvnw -B nexus-staging:release -P deploy
54+ ./mvnw -B verify nexus-staging:deploy -P deploy,!allmodules,mainmodule -DskipTests && \
55+ ./mvnw -B nexus-staging:release -P deploy,!allmodules,mainmodule
5656 env :
5757 OPENSOURCE_PROJECTS_KS_PW : ${{ secrets.KEYSTORE_PASSWORD }}
5858 OPENSOURCE_PROJECTS_KEY_PW : ${{ secrets.KEYSTORE_KEY_PASSWORD }}
Original file line number Diff line number Diff line change 2020 <name >bcrypt-parent</name >
2121 <description >Parent Maven project for Bcrypt</description >
2222
23- <modules >
24- <module >modules/bcrypt</module >
25- <module >modules/bcrypt-cli</module >
26- <module >modules/benchmark-jmh</module >
27- </modules >
23+ <!-- this is a workaround to be able to only deploy the main module used in deploy phase, nexus stage plugin is buggy -->
24+ <profiles >
25+ <profile >
26+ <id >allmodules</id >
27+ <activation >
28+ <activeByDefault >true</activeByDefault >
29+ </activation >
30+ <modules >
31+ <module >modules/bcrypt</module >
32+ <module >modules/bcrypt-cli</module >
33+ <module >modules/benchmark-jmh</module >
34+ </modules >
35+ </profile >
36+ <profile >
37+ <id >mainmodule</id >
38+ <modules >
39+ <module >modules/bcrypt</module >
40+ </modules >
41+ </profile >
42+ </profiles >
2843
2944 <properties >
3045 <project .jbcryptVersion>0.4</project .jbcryptVersion>
3146 <project .bcVersion>1.70</project .bcVersion>
3247 <!-- set this to true if fail because of missing credentials -->
33- <commonConfig .jarSign.skip>false </commonConfig .jarSign.skip>
48+ <commonConfig .jarSign.skip>true </commonConfig .jarSign.skip>
3449 </properties >
3550
3651 <build >
You can’t perform that action at this time.
0 commit comments