Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable license plugin by default #24742

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions distribution/src/main/resources/META-INF/THIRD-PARTY.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Placeholder file for THIRD-PARTY.txt

This file avoids failure by the assembly plugin when license-maven-plugin is skipped.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,13 @@
<shade.jar-with-dependencies.phase>package</shade.jar-with-dependencies.phase>
<fat.dependency.classifier>jar-with-dependencies</fat.dependency.classifier>

<!--
License plugin is not thread-safe, leads to flaky failures when checking licenses, so it is skipped by default.
to run the build with license plugin run with `-T1 -Dlicense.skipAddThirdParty=false`.
The `-T1` parameter disables the parallel build.
-->
<license.skipAddThirdParty>true</license.skipAddThirdParty>

<!--
Allow access to Operating system metrics:
open jdk.management/com.sun.management.internal
Expand Down Expand Up @@ -269,6 +276,7 @@
<include>**/*.xml</include>
<include>**/*.yaml</include>
<include>**/*.xsd</include>
<include>**/*.txt</include>
<include>**/hazelcast-config-*.json</include>
<include>**/*.handlers</include>
<include>**/*.schemas</include>
Expand Down