Skip to content

Commit fc14326

Browse files
committed
Upgrade to new maven central
1 parent fa998b6 commit fc14326

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
java-version: '11'
2727
distribution: 'adopt'
28-
server-id: ossrh
28+
server-id: central
2929
server-username: MAVEN_USERNAME
3030
server-password: MAVEN_PASSWORD
3131
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
java-version: '11'
3030
distribution: 'adopt'
31-
server-id: ossrh
31+
server-id: central
3232
server-username: MAVEN_USERNAME
3333
server-password: MAVEN_PASSWORD
3434
- name: Publish release

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ kotlin.version=2.1.20
2626

2727
Add the dependency:
2828
```groovy
29-
compile 'com.graphql-java-kickstart:graphql-java-tools:14.0.1'
29+
compile 'io.github.graphql-java-kickstart:graphql-java-tools:14.0.1'
3030
```
3131

3232
### Using Maven
@@ -41,7 +41,7 @@ Set the Kotlin version in your `<properties>` section:
4141
Add the dependency:
4242
```xml
4343
<dependency>
44-
<groupId>com.graphql-java-kickstart</groupId>
44+
<groupId>io.github.graphql-java-kickstart</groupId>
4545
<artifactId>graphql-java-tools</artifactId>
4646
<version>14.0.1</version>
4747
</dependency>

pom.xml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44

5-
<groupId>com.graphql-java-kickstart</groupId>
5+
<groupId>io.github.graphql-java-kickstart</groupId>
66
<artifactId>graphql-java-tools</artifactId>
77
<version>14.0.2-SNAPSHOT</version>
88
<packaging>jar</packaging>
@@ -342,14 +342,13 @@
342342
</executions>
343343
</plugin>
344344
<plugin>
345-
<groupId>org.sonatype.plugins</groupId>
346-
<artifactId>nexus-staging-maven-plugin</artifactId>
347-
<version>1.7.0</version>
345+
<groupId>org.sonatype.central</groupId>
346+
<artifactId>central-publishing-maven-plugin</artifactId>
347+
<version>0.9.0</version>
348348
<extensions>true</extensions>
349349
<configuration>
350-
<serverId>ossrh</serverId>
351-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
352-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
350+
<publishingServerId>central</publishingServerId>
351+
<autoPublish>true</autoPublish>
353352
</configuration>
354353
</plugin>
355354
</plugins>
@@ -429,8 +428,8 @@
429428
</licenses>
430429
<distributionManagement>
431430
<snapshotRepository>
432-
<id>ossrh</id>
433-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
431+
<id>central</id>
432+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
434433
</snapshotRepository>
435434
</distributionManagement>
436435
<scm>

0 commit comments

Comments
 (0)