On 15/05/2025 23:00, Andy Seaborne wrote:
Other possibilities for Jena6 clean-up:
jena-permissions does not seem to come up much. I've been pointing users
asking about a data-level security solution but I don't think they have
ever got back to the project. It's a framework, not a solution.
I've been keeping it alive though it is high maintenance for RDF 1.2
because it reproduces the Model API.
Maybe this is a candidate for retirement with the usual possibility of
restoration.
Contract testing is a test dependency of jena-querybuilder but as far as
I can it does not do anything. Removing it does not change the number of
tests run.
It is also used in jena-core. The tests duplicate normal tests - they
are many of the original jena-core tests, ported.
There are other problems with jena-core testing. surefire picks JUnit5
when using junit-vintage-engine and that misses tests. (Putting back
junit4 fixes that and fortunately, I regularly run the jena-core test
suite in Eclipse which finds all the tests.)
Contract testing does not work with JUnit5.
Going forward jena-core testing would benefit from some maintenance and
even if not switching to pure JUnit5, contract testing is another
dimension of complexity.
Andy
There are at least two releases, probably three, before Jena 6.0.0.
There are a number of deprecation PRs for signalling changes at 6.0.0:
GH-3194: Deprecation for removal of Capabilities and Graph.dependsOn
https://github.com/apache/jena/pull/3195
GH-3219: Deprecate for removal in jena-permissions
https://github.com/apache/jena/pull/3220
While I have cleared up compile-time warnings as far as possible, I've
only just found out why some javadoc warnings are output despite
suppressing warnings. It is due to use of deprecated-for-removal classes
in static imports; they don't seem to always pick up a class level
SuppressWarnings("removal").
Removals that I think can happen now:
GH-3197: Remove contract tests
https://github.com/apache/jena/pull/3198
GH-3201: Remove jena-fuseki-fulljar
https://github.com/apache/jena/pull/3202
fulljar is a packaging Fuseki/webapp+Jetty as a single jar.
Now the fuseki-server.jar is no longer the jar in the apache-jena-fuseki
download (since 5.3.0). There is a PR to remove the one line entry for
it from the website.
GH-3199: Remove ARP0
https://github.com/apache/jena/pull/3202
This has been deprecated for a while and should not be used.
ARP1 replaces it.
Andy