From 6a2967dfb03bbbaa3990b1488a5492bdf0b2f3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mat=C4=9Bj=C4=8Dek?= Date: Fri, 16 Jan 2026 23:15:14 +0100 Subject: [PATCH] Configuration for deployment to Maven Central MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: David Matějček --- pom.xml | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/pom.xml b/pom.xml index db46f8fb..345782f8 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,53 @@ HEAD + + + central + https://repo1.maven.org/maven2 + + fail + + + + central-portal-snapshots + https://central.sonatype.com/repository/maven-snapshots + + false + + + true + fail + + + + + + + + ossrh + Disabled Sonatype Nexus + http://localhost + + false + + + false + + + + ossrh + Disabled Sonatype Nexus + http://localhost + + false + + + false + + + + Eclipse Public License 2.0 @@ -156,6 +203,11 @@ org.glassfish.tyrus.samples:*,*:*-project,*:tyrus-archetype*,*:*-documentation,org.glassfish.tyrus.tests:*e2e*,org.glassfish.tyrus.tests.servlet*:*,org.glassfish.tyrus.bundles:*,org.glassfish.tyrus.tests:*containers* 8025 + + + false + + published @@ -362,6 +414,33 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.7.0 + + true + + + + injected-nexus-deploy + none + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.10.0 + true + + ${release.autopublish} + https://central.sonatype.com/repository/maven-snapshots + GlassFish Tyrus ${project.version} + central + ${release.waitUntil} + + @@ -485,6 +564,19 @@ + + + oss-release + + + + org.sonatype.central + central-publishing-maven-plugin + + + + + release