Skip to content

Commit

Permalink
Update SLF4J/Logback
Browse files Browse the repository at this point in the history
  • Loading branch information
rnc committed Nov 30, 2023
1 parent 9677531 commit 5f571fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cli/src/test/java/org/commonjava/maven/ext/cli/CliTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ public void checkDependencies()

assertTrue( cliOutput.contains( "Found 83" ) );
assertTrue( cliOutput.matches( "(?s).*"
+ "ch.qos.logback:logback-classic:1.2.[.\\d+]+\\s+ jar compile \n"
+ "ch.qos.logback:logback-core:1.2.[.\\d+]+\\s+ jar compile \n"
+ "ch.qos.logback:logback-classic:1.[.\\d+]+\\s+ jar compile \n"
+ "ch.qos.logback:logback-core:1.[.\\d+]+\\s+ jar compile \n"
+ "com.fasterxml.jackson.core:jackson-annotations:2.[.\\w+|\\a|-]+\\s+ jar compile \n"
+ "com.fasterxml.jackson.core:jackson-core:2.[.\\w+|-]+\\s+ jar compile \n"
+ "com.fasterxml.jackson.core:jackson-databind:2.[.\\w+|-]+\\s+ jar compile \n"
Expand Down Expand Up @@ -364,7 +364,7 @@ public void checkDependencies()
+ "org.jdom:jdom2:2.[.\\d+]+\\s+ jar compile \n"
+ "org.projectlombok:lombok:1.[.\\d+]+\\s+ jar provided \n"
+ "org.projectlombok:lombok-maven-plugin:1.[.\\d+]+\\s+ maven-plugin \n"
+ "org.slf4j:slf4j-api:1.[.\\d+]+\\s+ jar compile \n"
+ "org.slf4j:slf4j-api:2.[.\\d+]+\\s+ jar compile \n"
+ "org.xmlunit:xmlunit-core:2.[.\\d+]+\\s+ jar test \n"
+ "org.xmlunit:xmlunit-matchers:2.[.\\d+]+\\s+ jar test \n"
+ "org.yaml:snakeyaml:2.[.\\d+]+\\s+ jar compile.*") );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public void testNoClass()
public void testThisClass()
{
ManifestUtils.getManifestInformation( ManifestUtilsTest.class );

assertTrue( systemRule.getLog()
.contains( "Unable to retrieve manifest for class "
+ "org.commonjava.maven.ext.common.util.ManifestUtilsTest as "
Expand Down
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
<groovyVersion>3.0.17</groovyVersion>
<unirestVersion>3.14.2</unirestVersion>
<jsonPathVersion>2.8.0</jsonPathVersion>
<slf4jVersion>1.7.36</slf4jVersion>
<slf4jVersion>2.0.9</slf4jVersion>
<logbackVersion>1.3.12</logbackVersion>
<docletVersion>1.1</docletVersion>
<lombokPluginVersion>1.18.20.0</lombokPluginVersion>
<shadePluginVersion>3.2.4</shadePluginVersion>
Expand Down Expand Up @@ -423,12 +424,12 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.9</version>
<version>${logbackVersion}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.2.9</version>
<version>${logbackVersion}</version>
</dependency>

<dependency>
Expand Down

0 comments on commit 5f571fe

Please sign in to comment.