Skip to content

Commit d2f72f2

Browse files
committed
Issue #12195 add eclipse dash profile to run license-check tool
Signed-off-by: Olivier Lamy <[email protected]>
1 parent bb52d95 commit d2f72f2

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def mavenBuild(jdk, cmdline, mvnName) {
127127
}
128128
runLaunchable ("verify")
129129
runLaunchable ("record build --name jetty-12.0.x")
130-
sh "mvn $extraArgs -DsettingsPath=$GLOBAL_MVN_SETTINGS -Dmaven.repo.uri=http://nexus-service.nexus.svc.cluster.local:8081/repository/maven-public/ -ntp -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -V -B -e -U $cmdline"
130+
sh "mvn $extraArgs -DsettingsPath=$GLOBAL_MVN_SETTINGS -Dmaven.repo.uri=http://nexus-service.nexus.svc.cluster.local:8081/repository/maven-public/ -ntp -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -Peclipse-dash -V -B -e -U $cmdline"
131131
if(saveHome()) {
132132
archiveArtifacts artifacts: ".repository/org/eclipse/jetty/jetty-home/**/jetty-home-*", allowEmptyArchive: true, onlyIfSuccessful: false
133133
}

pom.xml

+44
Original file line numberDiff line numberDiff line change
@@ -2379,6 +2379,50 @@
23792379
</plugins>
23802380
</build>
23812381
</profile>
2382+
<profile>
2383+
<id>eclipse-dash</id>
2384+
<pluginRepositories>
2385+
<pluginRepository>
2386+
<releases>
2387+
<enabled>true</enabled>
2388+
</releases>
2389+
<snapshots>
2390+
<enabled>false</enabled>
2391+
</snapshots>
2392+
<id>dash-licenses-releases</id>
2393+
<url>https://repo.eclipse.org/content/repositories/dash-licenses-releases/</url>
2394+
</pluginRepository>
2395+
<pluginRepository>
2396+
<releases>
2397+
<enabled>false</enabled>
2398+
</releases>
2399+
<snapshots>
2400+
<enabled>true</enabled>
2401+
</snapshots>
2402+
<id>dash-licenses-snapshots</id>
2403+
<url>https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/</url>
2404+
</pluginRepository>
2405+
</pluginRepositories>
2406+
<build>
2407+
<plugins>
2408+
<plugin>
2409+
<groupId>org.eclipse.dash</groupId>
2410+
<artifactId>license-tool-plugin</artifactId>
2411+
<version>1.1.0</version>
2412+
<executions>
2413+
<execution>
2414+
<goals>
2415+
<goal>license-check</goal>
2416+
</goals>
2417+
<configuration>
2418+
<failWhenReviewNeeded>true</failWhenReviewNeeded>
2419+
</configuration>
2420+
</execution>
2421+
</executions>
2422+
</plugin>
2423+
</plugins>
2424+
</build>
2425+
</profile>
23822426
<profile>
23832427
<id>update-version</id>
23842428
<build>

0 commit comments

Comments
 (0)