Skip to content

Commit

Permalink
Consider slf4j.api as valid classpath name
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Nov 13, 2023
1 parent 34ea2b6 commit c3c57c7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ public void testDefaultRuntime() throws Exception {
assertFalse("plexus-build-api jar is in classpath",
classpathEntries.stream().anyMatch(e -> e.contains("plexus-build-api")));
assertTrue("slf4j-api bundle is missing from the classpath",
classpathEntries.stream().anyMatch(e -> e.contains("org.slf4j.api") || e.contains("slf4j-api")
classpathEntries.stream()
.anyMatch(e -> e.contains("org.slf4j.api") || e.contains("slf4j-api") || e.contains("slf4j.api")
//or in Dev mode:
|| Files.isRegularFile(Path.of(e, "org", "slf4j", "Logger.class"))));
}
Expand Down

0 comments on commit c3c57c7

Please sign in to comment.