Skip to content

Commit

Permalink
Fixed TestNG slf4j NoClassDefFoundError (#465)
Browse files Browse the repository at this point in the history
Signed-off-by: Arie Kiswanto <[email protected]>
Co-authored-by: arie <[email protected]>
Co-authored-by: Scott M Stark <[email protected]>
  • Loading branch information
3 people authored May 2, 2023
1 parent a796da3 commit fe8eda8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ protected Archive<?> buildArchive() {
Filters.includeAll(),
"com.beust");

// Attempt to add org.slf4j, internal TestNG package 7.5+ use slf4j
optionalPackages(
archive,
Filters.includeAll(),
"org.slf4j");

return archive;
}

Expand Down

0 comments on commit fe8eda8

Please sign in to comment.