Skip to content

Commit 0ea2645

Browse files
authored
Ban Jenkins test harness in compile scope (#864)
1 parent 2fde0db commit 0ea2645

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,9 @@
574574
<!-- CVE-2021-44228 -->
575575
<exclude>org.apache.logging.log4j:*:(,2.15.0-rc1]</exclude>
576576

577+
<!-- The Jenkins test harness wreaks havoc in production, so ensure it is in test scope. -->
578+
<exclude>org.jenkins-ci.main:jenkins-test-harness:*:jar:compile</exclude>
579+
577580
<!-- PowerMock has been abandoned and does not work on newer Java versions. -->
578581
<exclude>org.powermock:powermock-api-easymock</exclude>
579582
<exclude>org.powermock:powermock-api-mockito2</exclude>

0 commit comments

Comments
 (0)