Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Jena 3.15.0
-
None
-
None
Description
I have a project where the dependency resolution causes the commons-codec from Apache httpcomponents to be chosen (v1.11), not the version needed by Jena (v1.14).
Maven dependency rules: https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
The project depends on several Jena artifacts and the encounter order of dependencies can matter.
This happens with maven 3.6.3, which is current latest.
Clearing up the projects dependencies will also fix the problem but leaves it to the user to deal with it. (The project is an old and messy scratch working area and the POM isn't neat and tidy. It was bringing in Jena test code.)
To be safe, this ticket is to force the dependency resolution by excluding common-codec from the org.apache.httpcomponents (httpclient and httpclient).
Then at least the order of any Jena artifacts does not impact the outcome.
Attachments
Issue Links
- is duplicated by
-
JENA-1925 missing dependency to commons-codec in jena-arq pom
- Closed