Skip to content

Commit

Permalink
bugfix(ITs): fixed slf4j implementation loading and removed severe wa…
Browse files Browse the repository at this point in the history
…rnings in Jakarta EE tests
  • Loading branch information
lprimak committed Oct 5, 2023
1 parent 2d92460 commit 566353c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ public static WebArchive createDeployment(String archive) {
.addAsResource("META-INF/beans.xml")
.addAsResource(new StringAsset("org.apache.shiro.cdi.ShiroSecurityExtension"),
jakartify("META-INF/services/javax.enterprise.inject.spi.Extension"))
.addAsResource("META-INF/services/org.slf4j.spi.SLF4JServiceProvider")
.addAsWebInfResource(new StringAsset(
"<payara-web-app><class-loader delegate=\"false\"/></payara-web-app>"),
"payara-web.xml")
.addPackages(true, "org.apache.shiro")
.addPackages(true, "org.apache.commons")
.deletePackages(true, "org.apache.shiro.testing")
Expand Down

0 comments on commit 566353c

Please sign in to comment.