-
Notifications
You must be signed in to change notification settings - Fork 96
[MWAR-430] Discover Jakarta Servlet API as excuse for not having web.xml #8
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
Conversation
khmarbaise
left a comment
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.
It would be great if you could squash the commits into a single one. Apart from that looks fine for me. When you have squashed we can check on ASF CI ...
|
@olamy WDYT? |
|
@khmarbaise - commits squashed |
could not collaborate with JDK7.: but a lot more ITs fail with JDK7, not new one only, so I'm a bit confused... Some ITs fail locally due to no other reason but for artifacts that are missing in my repository, and maven on JDK7 can't establish connection with central. Setting |
|
In blue ocean/pipeline view it's clear that JDK7 is common factor. |
|
if the new IT requires Java 8, you can mark it with invoker.properties |
Thanks, that's what I did in #9. |
|
IMHO, no need for UnsupportedClassVersionError check: this won't happen for end-users |
Just to clarify my understanding: if there is jakarta's web servlet annotation in CP (only then plugin would load this class), it means also that project is already compiled with JDK8+. Right? In such case, catching UCVE isn't needed indeed! |
- Use MWAR-396_servlet30 as IT for this issue - Extract method to check for Servlet 3.0+ - Extract method to check for class - Check for Jakarta annotation as well - Require at least JDK8 to use jakarta servlet API
olamy
left a comment
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.
LGTM! Thanks for fixing this.
|
Resolve #495 |
1 similar comment
|
Resolve #495 |
@olamy may I ask for review, please?