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 committed by GitHub
parent 3706b73d92
commit ff0c014ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 24 additions and 7 deletions

View File

@ -403,6 +403,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>
@ -1176,6 +1177,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 -->
@ -83,13 +87,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

@ -76,6 +76,8 @@
<!-- Needed for SelfSignedCertificate -->
<argLine.java9.extras>--add-exports java.base/sun.security.x509=ALL-UNNAMED</argLine.java9.extras>
<skipJapicmp>true</skipJapicmp>
<!-- Do not deploy this module -->
<skipDeploy>true</skipDeploy>
</properties>
<dependencies>