Skip to content

Commit

Permalink
Avoid publishing the docs module in Maven Central
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gastaldi committed Sep 5, 2024
1 parent 1473784 commit dbe4ab0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
<modules>
<module>deployment</module>
<module>runtime</module>
{#if has-docs-module}
<module>docs</module>
{/if}
</modules>
{#if quarkus.bom}

Expand Down Expand Up @@ -121,4 +118,20 @@
</pluginManagement>
</build>
{/if}
{#if has-docs-module}
<profiles>
<profile>
<id>docs</id>
<activation>
<property>
<name>performRelease</name>
<value>!true</value>
</property>
</activation>
<modules>
<module>docs</module>
</modules>
</profile>
</profiles>
{/if}
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<modules>
<module>deployment</module>
<module>runtime</module>
<module>docs</module>
</modules>

<scm>
Expand Down Expand Up @@ -70,6 +69,18 @@
</build>

<profiles>
<profile>
<id>docs</id>
<activation>
<property>
<name>performRelease</name>
<value>!true</value>
</property>
</activation>
<modules>
<module>docs</module>
</modules>
</profile>
<profile>
<id>it</id>
<activation>
Expand Down

0 comments on commit dbe4ab0

Please sign in to comment.