-
Notifications
You must be signed in to change notification settings - Fork 148
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
appclient container needs 2.1.1 Jakarta Annotation ManagedBean #24020
Conversation
Note that this doesn't build correctly for me yet due to |
Oh, nice, so I can drop my local changes where I "hacked" appclient by adding newer annotation-api to the classpath before weld-se-shaded. |
@scottmarlow If I look here, there's no 5.0.SP2 yet: https://repo1.maven.org/maven2/org/jboss/weld/se/weld-se-shaded The last one is
|
That artifact is there:
|
There will have to be a new post 5.0.0.SP2 release to pickup the update of common annotations to 2.1.1. |
This one was already used, see dates, 8th june. The version 5.0.SP2 instead of 5.0.0.SP2 seems suspicious to me ... |
Aha, I get it ... we need to update weld-core's dependency on weld-api ... |
See weld/core#2747 |
weld/core#2747 + https://issues.redhat.com/browse/WELD-2722 sound like a great change but considering that the pull request is still in draft mode and the work in my opinion, sounds like something that might not be solved quickly, I wonder if it is better to hack in the individual common annotations 2.1.1 jar into the appclient container as @dmatej was likely doing before I created this broken pr! :-) |
My "hack" wasn't nice and @manovotn estimates that tomorrow they will release new Weld, so we can probably wait for that :-) |
c376e92
to
5ffe7a4
Compare
I changed the pull request to update to Weld 5.0.0.SP3 (looks like next likely tag in https://github.com/weld/core/tags), if that is not the right version (when released), I will update this pr again. |
@scottmarlow The version will be 5.0.1.Final (using the Weld API 5.0.SP2). |
Signed-off-by: Scott Marlow <smarlow@redhat.com>
5ffe7a4
to
e300de8
Compare
Just FYI, it reached Maven Central, co I initiated rebuild on Jenkins. |
Eh, Maven default rules - it saves failures, so it will recheck after 24 h again. Another option is to purge the Maven repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems OSGi doesn't like this change ...
After a quick run it seems like the CDI TCK also doesn't like this upgrade:
Maybe a Weld 5.0.1 is just too much for now? What we really need is a 5.0.0.SP3, which only changes the problematic Jakarta Annotation ManagedBean and absolutely nothing else. No comment, no whitespace, nothing. Just ManagedBean. |
Finally we found that these CDI TCK failures were caused by something between Krazo and CDI TCK, it has nothing to do with this PR. But with this PR GlassFish simply doesn't start, because Weld requires jboss-logging >=3.5.0 |
Signed-off-by: David Matějček <dmatej@seznam.cz>
Signed-off-by: Scott Marlow smarlow@redhat.com
Possible change for #24014