Skip deployment of testsuite jars (#11127)

Motivation:

We should skip the deployment of jars that are not meant to be consumed by the user as there is no public API.

Modifications:

Let's skip deployment for modules that are not useful for users

Result:

Build cleanup
This commit is contained in:
Norman Maurer 2021-03-30 19:06:08 +02:00
parent 7971a8ca49
commit b41891b602
11 changed files with 24 additions and 7 deletions

View File

@ -356,6 +356,7 @@
<!-- By default skip native testsuite as it requires a custom environment with graalvm installed -->
<skipNativeImageTestsuite>true</skipNativeImageTestsuite>
<skipShadingTestsuite>false</skipShadingTestsuite>
<skipDeploy>false</skipDeploy>
</properties>
<modules>
@ -1098,6 +1099,7 @@
<version>2.8.2</version>
<configuration>
<retryFailedDeploymentCount>10</retryFailedDeploymentCount>
<skip>${skipDeploy}</skip>
</configuration>
</plugin>
<!-- After artifacts were deployed from linux and macos we need to execute the following on macOS (in the root of the project).

View File

@ -27,6 +27,10 @@
<packaging>pom</packaging>
<name>Netty/Tarball</name>
<properties>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>
<!-- The example depends on all modules either directly or transitively -->
@ -72,13 +76,6 @@
</execution>
</executions>
</plugin>
<!-- Do not deploy this module -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -30,6 +30,8 @@
<properties>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>

View File

@ -30,6 +30,8 @@
<properties>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>

View File

@ -30,6 +30,8 @@
<properties>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>

View File

@ -30,6 +30,8 @@
<properties>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>

View File

@ -30,6 +30,8 @@
<properties>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>

View File

@ -31,6 +31,8 @@
<properties>
<skipJapicmp>true</skipJapicmp>
<skipNativeTestsuite>false</skipNativeTestsuite>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>

View File

@ -32,6 +32,8 @@
<exam.version>4.13.0</exam.version>
<argLine.java9.extras>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED</argLine.java9.extras>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<profiles>

View File

@ -39,6 +39,8 @@
<jarName>${project.artifactId}-${project.version}.jar</jarName>
<shadedPackagePrefix>io.netty.</shadedPackagePrefix>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<build>

View File

@ -72,6 +72,8 @@
<properties>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>