Skip to content

Commit

Permalink
fix: fixed critical vuln
Browse files Browse the repository at this point in the history
  • Loading branch information
37IulianPopovici committed Sep 26, 2023
1 parent 6fb9cd9 commit 96e7794
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.snyk.plugins</groupId>
Expand Down Expand Up @@ -108,10 +109,17 @@

<dependencyManagement>
<dependencies>
<!-- Override the logback-classic version introduced by artifactory-papi -->
<dependency>
<groupId>org.artifactory</groupId>
<artifactId>artifactory-papi</artifactId>
<version>${version.artifactory.api}</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
Expand All @@ -138,6 +146,12 @@
<artifactId>jackson-annotations</artifactId>
<version>${jackson-annotations.version}</version>
</dependency>
<!-- Add a safe version of logback-classic as an override -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand All @@ -153,4 +167,4 @@
<url>https://releases.jfrog.io/artifactory/jcenter/</url>
</repository>
</repositories>
</project>
</project>

0 comments on commit 96e7794

Please sign in to comment.