Comments (9)
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.
I usually try to follow the support plan from Oracle:
https://www.oracle.com/java/technologies/java-se-support-roadmap.html
from sortpom.
Thx for the quick answer π
Oracle dropped the support for Java 8 on March 2022
Yep but extended to December 2030.
I will maybe try the 3.0.1 version, hoping there is not blocking issue for me :)
from sortpom.
Donβt think there are any major features. You can check the version history section in the readme.
Btw, Is it company policy or something else that stops you from using later versions of Java? Personally, I am longing for java 17 at work (we are using 11 now)
from sortpom.
Btw, Is it company policy or something else that stops you from using later versions of Java?
The project for which I want to maybe add sortpom has Java8 as minimal version.
This is an open source library and so aiming to be reused.
Even if world is moving through more recent version of Java, still be compliant to java8 does not enforce user to move to more recent version of jdk just for us and also be java8 compliant allow us to be more easily used in Android world.
See https://stackoverflow.com/questions/69643374/which-java-version-should-i-use-to-create-a-library-usable-with-android?noredirect=1#comment123110733_69643374
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.
Personally, I am longing for java 17 at work (we are using 11 now)
Yep I understand, but as an open source library developer, I need to live in the past π
for user community.
One year ago, I was even stucked with java7 π¬
from sortpom.
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!
from sortpom.
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
from sortpom.
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" π
from sortpom.
I experimented a bit with java 8:
- reverted a few usages of
var
- fmt plugin didn't want to work with java 8, can be fixed with Maven profiles
- The new version of dom4j dependency needs 11 or higher. This replaced the old version of JDom 1 which had a security vulnerability that couldn't be fixed.
In order to fix the vulnerability, I had to upgrade to java 11. Sorry to say that this is the end of the road.
from sortpom.
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 :
The new version of dom4j dependency needs 11 or higher. This replaced the old version of JDom 1 which had a security vulnerability that couldn't be fixed.
Does it means that dom4j site web must be updated ? (it says Java 8)
(or maybe this not expected that domj4 need java 11 π€)
from sortpom.
Related Issues (20)
- Xml formatting HOT 12
- sorting doesn't work in >=v3.0.0 HOT 11
- no sort xmls with doctype HOT 4
- Add entry for the 3.2.1 release on the wiki page `Versions` HOT 2
- Tone down sortpom output HOT 6
- Properties configuration Suggestion HOT 7
- Setting to disable pom sorting? HOT 4
- LATEST using in pom is deprecated and will be removed from maven 4 HOT 8
- Handle plugin warnings HOT 1
- Dependency Dashboard
- Setup Maven 4 build pipe HOT 1
- Preserve formatting inside project element HOT 9
- Add configuration to suppress XML declaration HOT 7
- Add configuration for newline at the end of file HOT 6
- XML tag with `xml:space="preserve"` containing only spaces should not be collapsed HOT 4
- Attributes resulting in long lines should be wrapped or chopped down HOT 10
- Revisit schema location indent choice HOT 11
- Java Class File Version 52+ ( 55=Java 11 and/or 61=Java 17)
- Newlines aren't kept at beginning or end of String content. HOT 4
- Not sorting with mvn comand HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sortpom.