Skip to content

Commit

Permalink
Dependency upgrade pass 2 (#1022)
Browse files Browse the repository at this point in the history
* Suppress false positives around plexus
* Upgrade junit to 5.9.3. wagon-http to 3.5.3. Exclude jgit and ivy transative deps
  • Loading branch information
barchetta authored Feb 22, 2024
1 parent 0ffa2d1 commit 764ba62
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 8 deletions.
39 changes: 33 additions & 6 deletions etc/dependency-check-suppression.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,38 @@
These are FPs.
See https://github.com/jeremylong/DependencyCheck/issues/5973
-->
<suppress>
<packageUrl regex="true">^pkg:maven/org\.codehaus\.plexus/plexus\-(cipher|classworlds|component-annotations|interpolation|container-default|sec-dispatcher)@.*$</packageUrl>
<cve>CVE-2022-4244</cve>
<cve>CVE-2022-4245</cve>
</suppress>

<suppress>
<packageUrl regex="true">^pkg:maven/org\.codehaus\.plexus/plexus\-(cipher|classworlds|component-annotations|interpolation|container-default|sec-dispatcher)@.*$</packageUrl>
<cve>CVE-2022-4244</cve>
<cve>CVE-2022-4245</cve>
</suppress>
<suppress>
<notes><![CDATA[
file name: plexus-java-1.1.1.jar
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.codehaus\.plexus/plexus\-java@.*$</packageUrl>
<cve>CVE-2022-4244</cve>
</suppress>
<suppress>
<notes><![CDATA[
file name: plexus-java-1.1.1.jar
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.codehaus\.plexus/plexus\-java@.*$</packageUrl>
<cve>CVE-2022-4245</cve>
</suppress>
<suppress>
<notes><![CDATA[
file name: plexus-velocity-1.2.jar
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.codehaus\.plexus/plexus\-velocity@.*$</packageUrl>
<cve>CVE-2022-4244</cve>
</suppress>
<suppress>
<notes><![CDATA[
file name: plexus-velocity-1.2.jar
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.codehaus\.plexus/plexus\-velocity@.*$</packageUrl>
<cve>CVE-2022-4245</cve>
</suppress>

</suppressions>
17 changes: 15 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<version.lib.jaxb-core>2.3.0.1</version.lib.jaxb-core>
<version.lib.jaxb-impl>2.3.3</version.lib.jaxb-impl>
<version.lib.jsonp-impl>1.1.4</version.lib.jsonp-impl>
<version.lib.junit>5.8.0-M1</version.lib.junit>
<version.lib.junit>5.9.3</version.lib.junit>
<version.lib.junit-platform>1.8.0-M1</version.lib.junit-platform>
<version.lib.junit4>4.13.1</version.lib.junit4>
<version.lib.lsp4j>0.16.0</version.lib.lsp4j>
Expand Down Expand Up @@ -168,7 +168,7 @@
<version.lib.slf4j>1.7.25</version.lib.slf4j>
<version.lib.snakeyaml>2.0</version.lib.snakeyaml>
<version.lib.spotbugs-annotations>3.1.12</version.lib.spotbugs-annotations>
<version.lib.wagon-http>3.3.4</version.lib.wagon-http>
<version.lib.wagon-http>3.5.3</version.lib.wagon-http>
<version.lib.commons-text>1.10.0</version.lib.commons-text>

<!--
Expand Down Expand Up @@ -775,6 +775,12 @@
<groupId>com.github.wumpz</groupId>
<artifactId>diffutils</artifactId>
<version>${version.lib.diffutils}</version>
<exclusions>
<exclusion>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.spullara.mustache.java</groupId>
Expand Down Expand Up @@ -886,6 +892,13 @@
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-common</artifactId>
<version>${version.lib.archetype-common}</version>
<exclusions>
<exclusion>
<!-- not needed -->
<groupId>org.apache.ivy</groupId>
<artifactId>ivy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
Expand Down

0 comments on commit 764ba62

Please sign in to comment.