From dbe4ab0ef682e3e342a331704ea8e810758b5474 Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Thu, 5 Sep 2024 12:59:24 -0300 Subject: [PATCH] Avoid publishing the `docs` module in Maven Central Because the `docs` module does not publish any Javadoc artifact (and the resulting JAR doesn't contain any binaries), it doesn't meet the requirements to be deployed in Maven Central. See https://central.sonatype.org/publish/requirements/#supply-javadoc-and-sources for more info --- .../code/extension-base/java/pom.tpl.qute.xml | 19 ++++++++++++++++--- .../quarkus-my-quarkiverse-ext_pom.xml | 13 ++++++++++++- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/extension-base/java/pom.tpl.qute.xml b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/extension-base/java/pom.tpl.qute.xml index 20b16bad542d2..b8da17b31a2d5 100644 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/extension-base/java/pom.tpl.qute.xml +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/extension-base/java/pom.tpl.qute.xml @@ -45,9 +45,6 @@ deployment runtime - {#if has-docs-module} - docs - {/if} {#if quarkus.bom} @@ -121,4 +118,20 @@ {/if} +{#if has-docs-module} + + + docs + + + performRelease + !true + + + + docs + + + +{/if} diff --git a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/quarkus-my-quarkiverse-ext_pom.xml b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/quarkus-my-quarkiverse-ext_pom.xml index de822119963a5..bcd729e0be9e0 100644 --- a/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/quarkus-my-quarkiverse-ext_pom.xml +++ b/integration-tests/maven/src/test/resources/__snapshots__/CreateExtensionMojoIT/testCreateQuarkiverseExtension/quarkus-my-quarkiverse-ext_pom.xml @@ -16,7 +16,6 @@ deployment runtime - docs @@ -70,6 +69,18 @@ + + docs + + + performRelease + !true + + + + docs + + it