Skip to content

Commit 4f39436

Browse files
committed
[ITB-1842] Migrate Maven artifact publishing to Maven Central from Legacy OSSRH
1 parent 6a410cf commit 4f39436

4 files changed

Lines changed: 14 additions & 13 deletions

File tree

gitb-types-jakarta/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>eu.europa.ec.itb</groupId>
88
<artifactId>gitb-types-parent</artifactId>
9-
<version>1.26.0-SNAPSHOT</version>
9+
<version>1.26.0</version>
1010
</parent>
1111
<artifactId>gitb-types-jakarta</artifactId>
1212
<description>Type definitions for GITB types and services. This library includes classes annotated using Jakarta APIs (JAXB, JAX-WS) for use in Jakarta EE projects.</description>

gitb-types-javax/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>eu.europa.ec.itb</groupId>
88
<artifactId>gitb-types-parent</artifactId>
9-
<version>1.26.0-SNAPSHOT</version>
9+
<version>1.26.0</version>
1010
</parent>
1111
<artifactId>gitb-types</artifactId>
1212
<description>Type definitions for GITB types and services. This library includes classes annotated using javax APIs (JAXB, JAX-WS) for use in Java EE (pre-Jakarta) projects.</description>

gitb-types-specs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>eu.europa.ec.itb</groupId>
88
<artifactId>gitb-types-parent</artifactId>
9-
<version>1.26.0-SNAPSHOT</version>
9+
<version>1.26.0</version>
1010
</parent>
1111
<artifactId>gitb-types-specs</artifactId>
1212
<description>Specifications (WSDLs and XSDs) for GITB types and services.</description>

pom.xml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>eu.europa.ec.itb</groupId>
88
<artifactId>gitb-types-parent</artifactId>
9-
<version>1.26.0-SNAPSHOT</version>
9+
<version>1.26.0</version>
1010
<packaging>pom</packaging>
1111
<name>${project.groupId}:${project.artifactId}</name>
1212
<description>Type definitions, WSDLs and XSDs for GITB types and services.</description>
13-
<url>https://joinup.ec.europa.eu/solution/interoperability-test-bed/about</url>
13+
<url>https://interoperable-europe.ec.europa.eu/collection/interoperability-test-bed-repository/solution/interoperability-test-bed</url>
1414

1515
<licenses>
1616
<license>
1717
<name>European Union Public Licence (EUPL) Version 1.2</name>
18-
<url>https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12</url>
18+
<url>https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12</url>
1919
</license>
2020
</licenses>
2121

@@ -43,6 +43,7 @@
4343
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4444
<specsRoot>${basedir}/../gitb-types-specs</specsRoot>
4545
<java.release>8</java.release>
46+
<autoPublish>true</autoPublish>
4647
<!-- API library versions -->
4748
<jaxb.version>2.3.1</jaxb.version>
4849
<jaxws.version>2.3.1</jaxws.version>
@@ -53,7 +54,7 @@
5354
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
5455
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
5556
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
56-
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
57+
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
5758
<license-maven-plugin.version>2.5.0</license-maven-plugin.version>
5859
</properties>
5960

@@ -194,14 +195,14 @@
194195
</executions>
195196
</plugin>
196197
<plugin>
197-
<groupId>org.sonatype.plugins</groupId>
198-
<artifactId>nexus-staging-maven-plugin</artifactId>
199-
<version>${nexus-staging-maven-plugin.version}</version>
198+
<groupId>org.sonatype.central</groupId>
199+
<artifactId>central-publishing-maven-plugin</artifactId>
200+
<version>${central-publishing-maven-plugin.version}</version>
200201
<extensions>true</extensions>
201202
<configuration>
202-
<serverId>ossrh</serverId>
203-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
204-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
203+
<publishingServerId>central</publishingServerId>
204+
<autoPublish>${autoPublish}</autoPublish>
205+
<waitUntil>published</waitUntil>
205206
</configuration>
206207
</plugin>
207208
</plugins>

0 commit comments

Comments
 (0)