Skip to content

Commit 0e379ed

Browse files
authored
Merge pull request #50 from robinst/version-0.12.0
Version 0.12.0
2 parents 3a0e003 + d88fdc9 commit 0e379ed

File tree

3 files changed

+21
-23
lines changed

3 files changed

+21
-23
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout sources
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818

1919
- name: Set up Maven Central repository
20-
uses: actions/setup-java@v3
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: '11'
2323
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
2728
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2829
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable to use for passphrase in release
2930

@@ -37,6 +38,6 @@ jobs:
3738
mvn -B -Dpassword=${{ secrets.GITHUB_TOKEN }} release:prepare
3839
mvn -B release:perform
3940
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 }}
4243
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.12.0] - 2025-06-04
9+
### Added
10+
- Include OSGi metadata in jar
11+
### Changed
912
- Require at least Java 11
1013

1114
## [0.11.0] - 2023-02-27
@@ -84,6 +87,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8487
- Initial release!
8588

8689

90+
[0.12.0]: https://github.com/robinst/autolink-java/compare/autolink-0.11.0...autolink-0.12.0
8791
[0.11.0]: https://github.com/robinst/autolink-java/compare/autolink-0.10.1...autolink-0.11.0
8892
[0.10.1]: https://github.com/robinst/autolink-java/compare/autolink-0.10.0...autolink-0.10.1
8993
[0.10.0]: https://github.com/robinst/autolink-java/compare/autolink-0.9.0...autolink-0.10.0

pom.xml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>org.nibor.autolink</groupId>
66
<artifactId>autolink</artifactId>
7-
<version>0.11.1-SNAPSHOT</version>
7+
<version>0.12.0-SNAPSHOT</version>
88

99
<name>autolink-java</name>
1010
<description>
@@ -119,16 +119,16 @@
119119
</execution>
120120
</executions>
121121
</plugin>
122+
<!-- https://central.sonatype.org/publish/publish-portal-maven/ -->
122123
<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>
126127
<extensions>true</extensions>
127128
<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>
132132
</configuration>
133133
</plugin>
134134
<plugin>
@@ -239,13 +239,6 @@
239239
</profile>
240240
</profiles>
241241

242-
<distributionManagement>
243-
<snapshotRepository>
244-
<id>ossrh</id>
245-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
246-
</snapshotRepository>
247-
</distributionManagement>
248-
249242
<developers>
250243
<developer>
251244
<name>Robin Stocker</name>

0 commit comments

Comments
 (0)