aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2025-07-21 14:24:28 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2025-07-21 14:24:28 +0200
commit160b81c0b9588df2f6834a1d0989e2fd336b9760 (patch)
tree68237482e03dda6c33c11dfcfeee176b4ff91add
parent448606229db3ddace92fadeae3ce671daef55a64 (diff)
downloadjgit-160b81c0b9588df2f6834a1d0989e2fd336b9760.tar.gz
jgit-160b81c0b9588df2f6834a1d0989e2fd336b9760.zip
Add dash license check for 3rd party dependenciesstable-6.0
Change-Id: I552bd4e5a43871d4772d2d4fba7232f5dbb101ec
-rw-r--r--pom.xml25
1 files changed, 23 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 296397e8e2..1e835a7666 100644
--- a/pom.xml
+++ b/pom.xml
@@ -184,6 +184,10 @@
<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.jacoco.reportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPath>
+
+ <!-- license check -->
+ <dash.fail>true</dash.fail>
+ <dash.projectId>technology.jgit</dash.projectId>
</properties>
<repositories>
@@ -199,8 +203,8 @@
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
</pluginRepository>
<pluginRepository>
- <id>repo.eclipse.org.cbi-snapshots</id>
- <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
+ <id>repo.eclipse.org.dash-releases</id>
+ <url>https://repo.eclipse.org/content/repositories/dash-licenses-releases/</url>
</pluginRepository>
</pluginRepositories>
@@ -381,6 +385,11 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.5.4</version>
</plugin>
+ <plugin>
+ <groupId>org.eclipse.dash</groupId>
+ <artifactId>license-tool-plugin</artifactId>
+ <version>1.1.0</version>
+ </plugin>
</plugins>
</pluginManagement>
@@ -552,6 +561,18 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.eclipse.dash</groupId>
+ <artifactId>license-tool-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>license-check</id>
+ <goals>
+ <goal>license-check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>