Skip to content

Commit e33a59d

Browse files
committed
Switch publishing to use Central Portal
1 parent ccaa18e commit e33a59d

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
contents: read
1616
jobs:
1717
build:
18-
runs-on: 'ubuntu-22.04'
18+
runs-on: 'ubuntu-latest'
1919
strategy:
2020
fail-fast: false
2121
matrix:
@@ -30,15 +30,18 @@ jobs:
3030
distribution: "temurin"
3131
java-version: ${{ matrix.java_version }}
3232
cache: 'maven'
33+
server-id: central-snapshots
34+
server-username: CI_DEPLOY_USERNAME
35+
server-password: CI_DEPLOY_PASSWORD
3336
- name: Build
3437
run: ./mvnw -B -q -ff -ntp verify
3538
- name: Generate code coverage
36-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
39+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
3740
run: ./mvnw -B -q -ff -ntp test
3841
- name: Publish code coverage
39-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
42+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
4043
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
4144
with:
4245
token: ${{ secrets.CODECOV_TOKEN }}
43-
file: ./target/site/jacoco/jacoco.xml
46+
files: ./target/site/jacoco/jacoco.xml
4447
flags: unittests

.mvn/wrapper/maven-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
18-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.fasterxml</groupId>
88
<artifactId>oss-parent</artifactId>
9-
<version>58</version>
9+
<version>68</version>
1010
</parent>
1111
<groupId>com.fasterxml.uuid</groupId>
1212
<artifactId>java-uuid-generator</artifactId>
@@ -199,6 +199,11 @@ https://stackoverflow.com/questions/37958104/maven-javadoc-no-source-files-for-p
199199
</execution>
200200
</executions>
201201
</plugin>
202+
<!-- 28-May-2025, tatu: Ensure we use new Sonatype Central Portal: -->
203+
<plugin>
204+
<groupId>org.sonatype.central</groupId>
205+
<artifactId>central-publishing-maven-plugin</artifactId>
206+
</plugin>
202207
</plugins>
203208
</build>
204209

release-notes/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Releases
88

99
#122: RFC-4122 Obsoleted by RFC-9562 (document change)
1010
(pointed out by @akefirad)
11+
- Update to `oss-parent` v68 to switch to Central Portal publishing
1112

1213
5.1.0 (02-Jun-2024)
1314

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy