Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commons-logging-jboss-logmanager dependency to test to avoid CNF Exception #620

Closed
wants to merge 1 commit into from

Conversation

jfdenise
Copy link
Contributor

@jfdenise jfdenise commented Dec 6, 2024

The Exception doesn't make the tests to fail but is displayed in the test logs.

@jamezp
Copy link
Member

jamezp commented Dec 6, 2024

This is because the <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> is set in the surefire configuration. I've removed that in #621

The other option is to add dependency to the org.jboss.logmanager:jboss-logmanager and a configuration file. Just removing the property seems fine for now though.

The reason this works is because of a transitive dependency on the log manager. However, we'd want a direct dependency and not use the commons-logging.

@jamezp jamezp closed this Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants