Jaxen 2
Closed this issue · 2 comments
elharo commented
There are some issues with the current code base in Java 9 and later. I'm thinking it's time to move forward. Specifically I'm thinking we should push a Jaxen 2.0 release that breaks backwards compatibility. In particular:
- Remove the org.w3c.dom classes we bundle
- Set minimum Java version to 5 or later (maybe 6)
- Split the navigators except for dom into separate submodules.
- Remove the pattern package which is buggy and unused.
Group ID and package names would rename the same. Artifact ID would change.
This might cause some problems since two jars with different coordinates that bundle the same packages could show up in the class path. Alternatives include keeping artifact ID the same but bumping the version, at least for the core package or repackaging.
Thoughts?
ybhou1993 commented
I thought its workable
elharo commented
Current thoughts:
- Artifact ID, group ID, and package of core modules remain the same as there's too much existing code that depends on this.
- Core module includes DOM navigator but no others.
- dom4j navigator dropped (dom4j 2 is not in this repo)
- XOM navigator dropped (can be republished later as a separate artifact with new package and new IDs)
- JDOM 1 navigator dropped. JDOM2 bundles its own navigator.
- Pattern package retained, at least for time being.