File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1- name : Deploy
1+ name : Publish
22
33on :
44 release :
3535 run : mvn -B package --file pom.xml
3636
3737 - name : Publish
38- run : mvn -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy
38+ run : mvn -B - Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy
3939 env :
4040 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
4141 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
Original file line number Diff line number Diff line change 1313 <maven .compiler.target>11</maven .compiler.target>
1414 <jsonschema2pojo .version>1.0.2</jsonschema2pojo .version>
1515 <spring-boot .version>2.3.4.RELEASE</spring-boot .version>
16- <jsonschema2pojo-spring-data-couchbase .version>0.0.1-SNAPSHOT </jsonschema2pojo-spring-data-couchbase .version>
16+ <jsonschema2pojo-spring-data-couchbase .version>0.0.1</jsonschema2pojo-spring-data-couchbase .version>
1717 </properties >
1818
1919 <dependencies >
Original file line number Diff line number Diff line change 4747 <maven-source-plugin .version>3.2.1</maven-source-plugin .version>
4848 <maven-javadoc-plugin .version>3.2.0</maven-javadoc-plugin .version>
4949 <maven-gpg-plugin .version>1.6</maven-gpg-plugin .version>
50+ <nexus-staging-maven-plugin .version>1.6.8</nexus-staging-maven-plugin .version>
5051 </properties >
5152
5253 <dependencies >
189190 </execution >
190191 </executions >
191192 </plugin >
193+ <plugin >
194+ <groupId >org.sonatype.plugins</groupId >
195+ <artifactId >nexus-staging-maven-plugin</artifactId >
196+ <version >${nexus-staging-maven-plugin.version} </version >
197+ <extensions >true</extensions >
198+ <configuration >
199+ <serverId >ossrh</serverId >
200+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
201+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
202+ </configuration >
203+ </plugin >
192204 </plugins >
193205 </build >
194206
You can’t perform that action at this time.
0 commit comments