Skip to content

Commit

Permalink
Fixed slf4j and security patch or logback.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrzcinski committed Jan 24, 2024
1 parent cf0ca96 commit c423b4f
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
<maven.compiler.plugin>2.4</maven.compiler.plugin>
<maven.shade.plugin>3.1.0</maven.shade.plugin>
<dockerfile.maven.plugin>1.2.2</dockerfile.maven.plugin>
<javalin.version>4.5.0</javalin.version>
<javalin.version>5.6.3</javalin.version>
<mockito.version>3.7.7</mockito.version>
<junit.version>5.7.1</junit.version>
<konghg.unirest>3.4.00</konghg.unirest>
<assertj.core>3.11.1</assertj.core>
<io.mockk>1.9.3</io.mockk>
<slf4j.version>2.0.7</slf4j.version>
<surefire.plugin>2.22.2</surefire.plugin>
<surefire.provider>1.3.2</surefire.provider>
<bonigarcia.webdrivermanager>3.6.2</bonigarcia.webdrivermanager>
Expand All @@ -31,20 +32,33 @@

<!-- library dependencies -->
<dependencies>
<!-- Core library -->
<!-- Security Patches -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.14</version>
<scope>test</scope>
</dependency>
<!-- Core library -->
<dependency>
<groupId>io.javalin</groupId>
<artifactId>javalin-bundle</artifactId>
<version>${javalin.version}</version>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Mocking -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<dependency>
<groupId>io.mockk</groupId>
<artifactId>mockk</artifactId>
<version>${io.mockk}</version>
Expand All @@ -58,7 +72,7 @@
<scope>test</scope>
</dependency>
<!-- Extended assertions -->
<dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.core}</version>
Expand All @@ -71,7 +85,7 @@
<version>${konghg.unirest}</version>
<scope>test</scope>
</dependency>
<!-- End to end testing with Selenium -->
<!-- End to end testing with Selenium -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
Expand All @@ -84,12 +98,12 @@
<version>${bonigarcia.webdrivermanager}</version>
<scope>test</scope>
</dependency>
<!-- Fixes XXE injector -->
<dependency>
<!-- Fixes XXE injector -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.2.2</version>
</dependency>
</dependency>
</dependencies>

<distributionManagement>
Expand Down Expand Up @@ -126,7 +140,8 @@
<shadedArtifactAttached>true</shadedArtifactAttached>
<transformers>
<!-- add Main-Class to manifest file -->
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.ttrzcinski.rest.java.HellOnWorld</mainClass>
</transformer>
</transformers>
Expand Down

0 comments on commit c423b4f

Please sign in to comment.