Skip to content

Commit

Permalink
add maven property switch for disabling running mavenLicensePlugin
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Oct 23, 2020
1 parent 248c01c commit 066c9c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@
</ditto.thirdPartyLicences.excludedGroups>

<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>

<skipLicenseMavenPlugin>false</skipLicenseMavenPlugin>
</properties>

<build>
Expand Down Expand Up @@ -654,6 +656,7 @@
<artifactId>license-maven-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<skip>${skipLicenseMavenPlugin}</skip>
<header>../legal/headers/license-header.txt</header>
<validHeaders>
<header>../legal/headers/license-header-2019.txt</header>
Expand Down Expand Up @@ -701,6 +704,7 @@
<goal>add-third-party</goal>
</goals>
<configuration>
<skipAddThirdParty>${skipLicenseMavenPlugin}</skipAddThirdParty>
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
<excludedGroups>${ditto.thirdPartyLicences.excludedGroups}</excludedGroups>
<includedScopes>compile</includedScopes>
Expand Down

0 comments on commit 066c9c0

Please sign in to comment.