This repository was archived by the owner on Dec 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
#1596 Fix Dependency convergence issue + enable Maven Enforcer #37
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
d05098f
re #1596 Bump ai.djl.huggingface:tokenizers from 0.26.0 to 0.28.0
Dohbedoh 2269086
re #1596 Enable Maven (version) enforcer plugin
Dohbedoh 03a00f8
re #1596 Add exclusion of ai.djl:api from ai.djl.huggingface:tokenizers
Dohbedoh d708144
re #1596 Add slf4j exclusion + use property for ai.djl version
Dohbedoh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we exclude
slf4j-apionai.djl:apiinstead?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not following. I am not touching the exclusions for
ai.djl:apihttps://github.com/langchain4j/langchain4j-embeddings/blob/0.33.0/langchain4j-embeddings/pom.xml#L37-L41.The problem is that embedding has 2 dependencies on
ai.djl:api, one direct dependency and a transitive dependency throughai.djl.huggingface:tokenizers. To avoid future problems, we should excludeai.djl:apifromai.djl.huggingface:tokenizers.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIU,
tokenizersalways uses the same version ofai.djl:api, so there is no need in exclusions, we just need to make sure we use the same version ofapiandtokenizers.But if we remove exclusion of
api, there is a problem withslf4j-api...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's why I propose the exclusion here.
ai.djl:api. The same thing we did forcommon-compressin 6c358b8.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excluding
ai.djl:apiis not necessary, it works fine without it. Andmaven-enforcer-pluginwill always make sure there is no conflict.