Skip to content

Commit 19a15d7

Browse files
committed
chore: Move to Central Portal
1 parent b98b7ea commit 19a15d7

3 files changed

Lines changed: 14 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
with:
1919
distribution: zulu
2020
java-version: |
21-
8
22-
21
21+
17
22+
25
2323
cache: maven
2424
- name: Build
2525
env:
2626
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
2727
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
2828
JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
29-
JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }}
30-
JRELEASER_NEXUS2_PASSWORD: ${{ secrets.JRELEASER_NEXUS2_PASSWORD }}
29+
JRELEASER_MAVEN_CENTRAL_USERNAME: ${{ secrets.JRELEASER_MAVEN_CENTRAL_USERNAME }}
30+
JRELEASER_MAVEN_CENTRAL_TOKEN: ${{ secrets.JRELEASER_MAVEN_CENTRAL_TOKEN }}
3131
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
run: ./mvnw --no-transfer-progress -Prelease -Drevision=${{ github.event.inputs.version }} deploy jreleaser:full-release

pom.xml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<groupId>io.github.helpermethod</groupId>
@@ -160,15 +161,13 @@
160161
</signing>
161162
<deploy>
162163
<maven>
163-
<nexus2>
164-
<maven-central>
165-
<active>ALWAYS</active>
166-
<url>https://s01.oss.sonatype.org/service/local</url>
167-
<closeRepository>true</closeRepository>
168-
<releaseRepository>true</releaseRepository>
169-
<stagingRepositories>target/staging-deploy</stagingRepositories>
170-
</maven-central>
171-
</nexus2>
164+
<maven-central>
165+
<active>ALWAYS</active>
166+
<url>https://central.sonatype.com/api/v1/publisher</url>
167+
<closeRepository>true</closeRepository>
168+
<releaseRepository>true</releaseRepository>
169+
<stagingRepositories>target/staging-deploy</stagingRepositories>
170+
</maven-central>
172171
</maven>
173172
</deploy>
174173
<release>

src/main/java/io/github/helpermethod/zipforge/Visitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import java.io.IOException;
44

5-
interface Visitor {
5+
public interface Visitor {
66
void visit(FileNode file) throws IOException;
77

88
void visit(DirectoryNode directory) throws IOException;

0 commit comments

Comments
 (0)