Skip to content

Commit

Permalink
Disable license plugin by default (#24742)
Browse files Browse the repository at this point in the history
  • Loading branch information
frant-hartm committed Jun 6, 2023
1 parent b2d1dfa commit 2aa1499
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
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 @@ -187,6 +187,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 @@ -268,6 +275,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

0 comments on commit 2aa1499

Please sign in to comment.