Skip to content

Commit

Permalink
Disable license plugin by default
Browse files Browse the repository at this point in the history
  • Loading branch information
frant-hartm committed Jun 6, 2023
1 parent e376062 commit eb7d1fb
Show file tree
Hide file tree
Showing 2 changed files with 10 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.
7 changes: 7 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

0 comments on commit eb7d1fb

Please sign in to comment.