-
Notifications
You must be signed in to change notification settings - Fork 31
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
Deal with wildfly-core upgrade to jboss-logging 3.6.x #244
Comments
fixes wildfly-extras#244 It attempts to fix issue due to current dependecy situation: * creaper has explicit dependency on jboss-logging 3.3.0.Final * jboss-logging added new methods in 3.6.0 * wildfly-core uses new methods from jboss-logging 3.6.x since 26.0.0.Beta3 which means WildFly 34 * it results in wildfly-extras#244 Let's bring in jboss-logging transitivitely from wildfly-core to keep version aligned. ---- Originally jboss-logging dependency was added with this commit message ``` OnlineManagementClient and OfflineManagementClient now log all commands and operations they are performing. Operations (online only) are logged on the DEBUG level, commands are logged on INFO. Also, commands are now advised to provide a toString() method that is used for logging. The logging framework that is used in Creaper is JBoss Logging, because: 1. It is not actually a logging framework, it's only a facade that delegates the logging work to some logging framework that appears to be used. 2. It can detect all commonly used logging frameworks (Logback, Log4j, JUL) and one uncommon too (JBoss LogManager). 3. Creaper already depended on it transitively. Avoiding new dependencies is good. 4. It has a really small and nice API. ```
@dosu are you already here? |
@mchoma Hello there! I'm here to assist you with any issues you're facing. If you need help with bugs, have questions, or want to become a contributor, I'm here to help while you wait for a human maintainer. Yes, I'm here. To resolve the
By following these steps, you should be able to resolve the Would you like more detailed guidance on implementing these solutions? |
After WFCORE-6883, wildfly-core was updated to depend on the new
jboss-logging
version, which comes with some new methods. At the same time, Wildly Integration was updated to use those new methods.Because of that, we started to see many issues like:
or
From quick investigation, it seems the problem might be that the version of
jboss-logging
in the dependency tree is lower than 3.6.0 (and thus missing the new method)—IOW, we have a dependency on recent enoughwildfly-core
/wildfly-cli
that tries to use that new method.wildfly-core
/wildfly-cli
depends on newjboss-logging
so that is not a problem but some other artifact's transitivejboss-logging
(older) is resolved by maven.So far, the only viable solution we have come up with is updating all test suites and tooling projects to depend on the latest
jboss-logging
3.6.x. We hope we will not have to change that for another ten years like was the case with previous versions.Alternatively we could remove explicit dependency on
jboss-logging
and allow it to be transitive (through WildFly Core ideally).There is one change though -
jboss-logging
3.6.x is JDK11+ only which isn't the problem for EAP 8.x testsuites but might be for some tooling projects (like Creaper) so we need to deal with that too.The text was updated successfully, but these errors were encountered: