File tree Expand file tree Collapse file tree 3 files changed +60
-1
lines changed
Expand file tree Collapse file tree 3 files changed +60
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Maven Central Release
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ publish :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : Set up Maven Central Repository
12+ uses : actions/setup-java@v1
13+ with :
14+ java-version : 11
15+ server-id : ossrh
16+ server-username : MAVEN_USERNAME
17+ server-password : MAVEN_PASSWORD
18+ - name : Import GPG Key
19+ run :
20+ gpg --import --batch <(echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}")
21+ - name : Publish to Central Repository
22+ env :
23+ MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
24+ MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
25+ run : mvn clean -Dgpg.skip=false -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} deploy
Original file line number Diff line number Diff line change 1- # Virtual Schema Common Java 12.1.0, released 2020-10-??
1+ # Virtual Schema Common Java 12.1.0, released 2020-10-23
22
33Code name: New capabilities and updates in the API
44
@@ -14,6 +14,7 @@ Code name: New capabilities and updates in the API
1414* #168 : Removed unused class SqlUtils.
1515* #173 : Improved LISTAGG function class.
1616* #175 : Improved EXTRACT function class.
17+ * #178 : Prepared the project for an automated Maven Central Release
1718
1819## Documentation
1920
Original file line number Diff line number Diff line change 189189 <goals >
190190 <goal >sign</goal >
191191 </goals >
192+ <configuration >
193+ <!-- Prevent `gpg` from using pinentry programs -->
194+ <gpgArguments >
195+ <arg >--pinentry-mode</arg >
196+ <arg >loopback</arg >
197+ </gpgArguments >
198+ </configuration >
192199 </execution >
193200 </executions >
194201 </plugin >
239246 </execution >
240247 </executions >
241248 </plugin >
249+ <plugin >
250+ <groupId >org.apache.maven.plugins</groupId >
251+ <artifactId >maven-deploy-plugin</artifactId >
252+ <configuration >
253+ <skip >true</skip >
254+ </configuration >
255+ </plugin >
256+ <plugin >
257+ <groupId >org.sonatype.plugins</groupId >
258+ <artifactId >nexus-staging-maven-plugin</artifactId >
259+ <version >1.6.8</version >
260+ <configuration >
261+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
262+ <serverId >ossrh</serverId >
263+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
264+ </configuration >
265+ <executions >
266+ <execution >
267+ <id >default-deploy</id >
268+ <phase >deploy</phase >
269+ <goals >
270+ <goal >deploy</goal >
271+ </goals >
272+ </execution >
273+ </executions >
274+ </plugin >
242275 </plugins >
243276 </build >
244277</project >
You can’t perform that action at this time.
0 commit comments