Skip to content

Commit

Permalink
Ban Jenkins test harness in compile scope (#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Nov 22, 2023
1 parent 2fde0db commit 0ea2645
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,9 @@
<!-- CVE-2021-44228 -->
<exclude>org.apache.logging.log4j:*:(,2.15.0-rc1]</exclude>

<!-- The Jenkins test harness wreaks havoc in production, so ensure it is in test scope. -->
<exclude>org.jenkins-ci.main:jenkins-test-harness:*:jar:compile</exclude>

<!-- PowerMock has been abandoned and does not work on newer Java versions. -->
<exclude>org.powermock:powermock-api-easymock</exclude>
<exclude>org.powermock:powermock-api-mockito2</exclude>
Expand Down

0 comments on commit 0ea2645

Please sign in to comment.