Skip to content

Commit

Permalink
Avoid publishing support modules in Maven Central
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 9, 2024
1 parent 8d938ab commit 5b68c4b
Showing 1 changed file with 28 additions and 10 deletions.
38 changes: 28 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

<parent>
<groupId>io.quarkiverse</groupId>
<artifactId>quarkiverse-parent</artifactId>
<version>17</version>
<relativePath />
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -52,8 +51,6 @@
<modules>
<module>core</module>
<module>quarkus-diameter</module>
<module>docs</module>
<module>integration-tests</module>
</modules>

<properties>
Expand Down Expand Up @@ -150,8 +147,7 @@
<bannedRepositories>
<message>To build this project, don't use maven repositories over HTTP. Please use
HTTPS in your settings.xml or run the build with property
insecure.repositories=WARN
</message>
insecure.repositories=WARN</message>
<level>${insecure.repositories}</level>
<bannedRepositories>
<bannedRepository>http://*</bannedRepository>
Expand All @@ -162,8 +158,7 @@
</bannedRepositories>
<requireJavaVersion>
<message>To build this project JDK ${jdk.min.version} (or greater) is required.
Please install it.
</message>
Please install it.</message>
<version>${jdk.min.version}</version>
</requireJavaVersion>
</rules>
Expand All @@ -178,8 +173,7 @@
<rules>
<requireMavenVersion>
<message>To build this project Maven ${maven.min.version} (or greater) is required.
Please install it.
</message>
Please install it.</message>
<version>${maven.min.version}</version>
</requireMavenVersion>
</rules>
Expand Down Expand Up @@ -224,6 +218,30 @@
</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>
<property>
<name>performRelease</name>
<value>!true</value>
</property>
</activation>
<modules>
<module>integration-tests</module>
</modules>
</profile>
<profile>
<id>it</id>
<activation>
Expand Down

0 comments on commit 5b68c4b

Please sign in to comment.