File tree Expand file tree Collapse file tree 3 files changed +21
-23
lines changed Expand file tree Collapse file tree 3 files changed +21
-23
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,17 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Checkout sources
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v4
18
18
19
19
- name : Set up Maven Central repository
20
- uses : actions/setup-java@v3
20
+ uses : actions/setup-java@v4
21
21
with :
22
22
java-version : ' 11'
23
23
distribution : ' temurin'
24
- server-id : ossrh
25
- server-username : MAVEN_USERNAME # env variable to use for username in release
26
- server-password : MAVEN_PASSWORD # env variable to use for password in release
24
+ # See https://central.sonatype.org/publish/publish-portal-maven/
25
+ server-id : central
26
+ server-username : CENTRAL_USERNAME # env variable to use for username in release
27
+ server-password : CENTRAL_PASSWORD # env variable to use for password in release
27
28
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
28
29
gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable to use for passphrase in release
29
30
37
38
mvn -B -Dpassword=${{ secrets.GITHUB_TOKEN }} release:prepare
38
39
mvn -B release:perform
39
40
env :
40
- MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
41
- MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
41
+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
42
+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
42
43
MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
8
- ## [ Unreleased]
8
+ ## [ 0.12.0] - 2025-06-04
9
+ ### Added
10
+ - Include OSGi metadata in jar
11
+ ### Changed
9
12
- Require at least Java 11
10
13
11
14
## [ 0.11.0] - 2023-02-27
@@ -84,6 +87,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
84
87
- Initial release!
85
88
86
89
90
+ [ 0.12.0 ] : https://github.com/robinst/autolink-java/compare/autolink-0.11.0...autolink-0.12.0
87
91
[ 0.11.0 ] : https://github.com/robinst/autolink-java/compare/autolink-0.10.1...autolink-0.11.0
88
92
[ 0.10.1 ] : https://github.com/robinst/autolink-java/compare/autolink-0.10.0...autolink-0.10.1
89
93
[ 0.10.0 ] : https://github.com/robinst/autolink-java/compare/autolink-0.9.0...autolink-0.10.0
Original file line number Diff line number Diff line change 4
4
5
5
<groupId >org.nibor.autolink</groupId >
6
6
<artifactId >autolink</artifactId >
7
- <version >0.11.1 -SNAPSHOT</version >
7
+ <version >0.12.0 -SNAPSHOT</version >
8
8
9
9
<name >autolink-java</name >
10
10
<description >
119
119
</execution >
120
120
</executions >
121
121
</plugin >
122
+ <!-- https://central.sonatype.org/publish/publish-portal-maven/ -->
122
123
<plugin >
123
- <groupId >org.sonatype.plugins </groupId >
124
- <artifactId >nexus-staging -maven-plugin</artifactId >
125
- <version >1.6.13 </version >
124
+ <groupId >org.sonatype.central </groupId >
125
+ <artifactId >central-publishing -maven-plugin</artifactId >
126
+ <version >0.7.0 </version >
126
127
<extensions >true</extensions >
127
128
<configuration >
128
- <serverId >ossrh</serverId >
129
- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
130
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
131
- <stagingProgressTimeoutMinutes >10</stagingProgressTimeoutMinutes >
129
+ <publishingServerId >central</publishingServerId >
130
+ <autoPublish >true</autoPublish >
131
+ <waitUntil >published</waitUntil >
132
132
</configuration >
133
133
</plugin >
134
134
<plugin >
239
239
</profile >
240
240
</profiles >
241
241
242
- <distributionManagement >
243
- <snapshotRepository >
244
- <id >ossrh</id >
245
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
246
- </snapshotRepository >
247
- </distributionManagement >
248
-
249
242
<developers >
250
243
<developer >
251
244
<name >Robin Stocker</name >
You can’t perform that action at this time.
0 commit comments