-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
ISSUE-581 # preliminary work for Java 17 support - updating maven dependencies #594
Conversation
kafka-testing to avoid maven warnings like [WARNING] Some problems were encountered while building the effective model for org.jsmart:http-testing:jar:1.3.36-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 50, column 21 [WARNING]
creating of guice injector
[WARNING] /home/alois/eclipse-workspace-zerocode/zerocode/core/src/main/java/org/jsmart/zerocode/core/kafka/helper/KafkaProducerHelper.java:[102,62] non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class<?> for a varargs call cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning [WARNING] /home/alois/eclipse-workspace-zerocode/zerocode/core/src/main/java/org/jsmart/zerocode/core/kafka/helper/KafkaProducerHelper.java:[103,50] non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning [WARNING] /home/alois/eclipse-workspace-zerocode/zerocode/core/src/test/java/org/jsmart/zerocode/core/engine/executor/javaapi/JavaMethodExecutorImplTest.java:[90,83] non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning [WARNING] /home/alois/eclipse-workspace-zerocode/zerocode/core/src/test/java/org/jsmart/zerocode/core/runner/ZeroCodeUnitRuntimeAnnoTest.java:[57,78] non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class<?> for a varargs call cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
….apache.commons.text
….apache.commons.text
…rotobuf to 3.24.4
…, jayway to 2.7.0
maven-source-plugin 3.3.0, maven-javadoc-plugin 3.6.0, maven-gpg-plugin 3.1.0, maven-release-plugin 3.0.1, maven-surefire-plugin 3.1.2
With JDK17 I didn't get a successful maven build with the current authorjapps:master branch. I thought it a good idea -- instead of debugging problems -- to start with updating a bunch of maven dependencies - e.g. a guice version >=5.1.0 is needed for Java17 support (https://github.com/google/guice/wiki/Guice510). And so this pull request was born. Should I break up this pull request into smaller chunks and create a separate issue and pull request for each chunk? Or are you generally cautious about updating maven dependencies and we should keep our hands off? |
I'll better break this into smaller chunks and create issues for each one. |
Hello @baulea , appreciate you were looking into this in terms of updating the dependenct libraries 1st. I think it's better to create a separate module(if possible) for JDK 17 migration related works. |
Thank you very much for your reply. And thanks for sharing the goal to support JDK17. |
ISSUE-581 # preliminary work for Java 17 support - updating maven dependencies
PR Branch
https://github.com/baulea/zerocode/tree/feature/java17
Motivation and Context
Updated maven dependencies to versions that are more up-to-date. This is preliminary work for Java 17 support. I'll continue with work for Java 17 support.
"mvn clean install" succeeded with all tests
Checklist:
Unit tests added
Integration tests added
Test names are meaningful
Feature manually tested
Branch build passed
No 'package.*' in the imports
Relevant Wiki page updated with clear instruction for the end user
Http test added to
http-testing
module(if applicable) ?Kafka test added to
kafka-testing
module(if applicable) ?