-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Minimal version of Java for this plugin ? #225
Comments
Hi! SortPom version 3.0.1 supports Java 8, but 3.1.0 and forward has Java 11 as minimum requirement. Oracle dropped the support for Java 8 on March 2022 and there are quite a few new features in 11 to use, so I discontinued the support for 8. |
Thx for the quick answer 🙏
Yep but extended to December 2030. I will maybe try the 3.0.1 version, hoping there is not blocking issue for me :) |
Don’t think there are any major features. You can check the version history section in the readme. |
The project for which I want to maybe add sortpom has Java8 as minimal version. For maven plugin dependency, I could build project with most recent version of java and use toolchain to compile but I don't really want to bring out the big guns just for that.
Yep I understand, but as an open source library developer, I need to live in the past 😅 for user community. |
That is food for thought. Maybe I will reevaluate the Java 11 for this plugin. Perhaps I have some time this summer to see how much work it is. Thanks for the input! |
Hmmm, first glance doesn't look promising: https://stackoverflow.com/questions/54447541/how-to-write-code-in-java-11-but-target-java-8-and-above |
That's why I said : "as an open source library developer, I need to live in the past" 🙂 |
I experimented a bit with java 8:
In order to fix the vulnerability, I had to upgrade to java 11. Sorry to say that this is the end of the road. |
Thx for giving it a try 🙏 ! About :
Does it means that dom4j site web must be updated ? (it says Java 8) |
Sorry if I missed it but I didn't find any information about minimal java version required ?
The pom.xml seems to say it's java8. Some issues also go in that way : #35
But when I try to use it, I get :
Like if code was compiled for java 11 (API version 55.0)
So maybe this is just a mistake about jdk used to compile the released jar ?
(I will maybe use this plugin but my project target java8 and I don't want to go with maven toolchain just for that)
The text was updated successfully, but these errors were encountered: