Skip to content

Commit 46e28eb

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

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
@@ -138,7 +138,7 @@ def mavenBuild(jdk, cmdline, mvnName) {
138138
}
139139
runLaunchable ("verify")
140140
runLaunchable ("record build --name jetty-12.0.x")
141-
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"
141+
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"
142142
if(saveHome()) {
143143
archiveArtifacts artifacts: ".repository/org/eclipse/jetty/jetty-home/**/jetty-home-*", allowEmptyArchive: true, onlyIfSuccessful: false
144144
}

pom.xml

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

0 commit comments

Comments
 (0)