Skip to content

Commit b5b2361

Browse files
committed
Migrate to Sonatype Central for publishing artifacts
update central-publishing-maven-plugin configuration Add missing name tag to modules pom.xml
1 parent f926871 commit b5b2361

File tree

17 files changed

+25
-19
lines changed

17 files changed

+25
-19
lines changed

annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<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">
22

33
<artifactId>graphql-jpa-query-annotations</artifactId>
4-
<name>graphql-jpa-query-annotations</name>
4+
<name>${artifactId}</name>
55

66
<parent>
77
<groupId>com.introproventures</groupId>

autoconfigure/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<relativePath>../build</relativePath>
88
</parent>
99
<artifactId>graphql-jpa-query-autoconfigure</artifactId>
10+
<name>${artifactId}</name>
1011

1112
<description>
1213
Provides Spring Boot Auto-Configuration Support

boot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33

44
<artifactId>graphql-jpa-query-boot-starter</artifactId>
5-
<name>graphql-jpa-query-boot-starter</name>
5+
<name>${artifactId}</name>
66
<packaging>jar</packaging>
77

88
<description>

build/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<relativePath>../dependencies</relativePath>
88
</parent>
99
<artifactId>graphql-jpa-query-build</artifactId>
10+
<name>${artifactId}</name>
1011
<packaging>pom</packaging>
1112

1213
<description>

dependencies/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<artifactId>graphql-jpa-query-dependencies</artifactId>
10+
<name>${artifactId}</name>
1011
<packaging>pom</packaging>
1112

1213
<description>

introspection/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<relativePath>../build</relativePath>
88
</parent>
99
<artifactId>graphql-jpa-query-introspection</artifactId>
10+
<name>${artifactId}</name>
1011

1112
<description>
1213
Provides Java Class Introspection Support for JPA Entities

pom.xml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2828
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2929
<skipPrettier>false</skipPrettier>
30-
<skipStaging>false</skipStaging>
30+
<skipPublishing>false</skipPublishing>
3131
<generateBackupPoms>false</generateBackupPoms>
3232
</properties>
3333

@@ -376,24 +376,14 @@
376376
<plugins>
377377
<!-- Deployment -->
378378
<plugin>
379-
<groupId>org.sonatype.plugins</groupId>
380-
<artifactId>nexus-staging-maven-plugin</artifactId>
381-
<version>1.6.13</version>
382-
<executions>
383-
<execution>
384-
<id>default-deploy</id>
385-
<phase>deploy</phase>
386-
<goals>
387-
<goal>deploy</goal>
388-
</goals>
389-
</execution>
390-
</executions>
379+
<groupId>org.sonatype.central</groupId>
380+
<artifactId>central-publishing-maven-plugin</artifactId>
381+
<version>0.9.0</version>
391382
<extensions>true</extensions>
392383
<configuration>
393-
<serverId>sonatype-nexus-staging</serverId>
394-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
395-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
396-
<skipStaging>${skipStaging}</skipStaging>
384+
<publishingServerId>central</publishingServerId>
385+
<skipPublishing>${skipPublishing}</skipPublishing>
386+
<deploymentName>${artifactId}-${version}</deploymentName>
397387
</configuration>
398388
</plugin>
399389
</plugins>

tests/gatling/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</parent>
1010

1111
<artifactId>graphql-jpa-query-tests-gatling</artifactId>
12+
<name>${artifactId}</name>
1213

1314
<properties>
1415
<java.version>21</java.version>

tests/models/books/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</parent>
99

1010
<artifactId>graphql-jpa-query-test-model-books</artifactId>
11+
<name>${artifactId}</name>
1112

1213
<dependencies>
1314
<dependency>

tests/models/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
</parent>
1010

1111
<artifactId>graphql-jpa-query-test-models</artifactId>
12+
<name>${artifactId}</name>
13+
1214
<packaging>pom</packaging>
1315

1416
<modules>

0 commit comments

Comments
 (0)