Transitive dependency issue#11
Open
msamec wants to merge 1 commit into
Open
Conversation
Contributor
Contributor
Author
Another solution would be to remove pom.xml altogether. I just updated the file because I wasn't sure why was it there in the first place so I didn't want to delete it. If we delete it, that should also solve the above issue because the plugin mentioned will look at As far as I can see Maven is not used as build tool here but just Cli tools so my guess is this can be removed but I guess @retro will know more why this file is here. |
neektza
approved these changes
Jul 12, 2024
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Since this package is neither on maven or clojar it has to be fetched from git directly. Since I only use Lein, fetching directly from git is not supported out of the box, so I'm using this plugin https://github.com/reifyhealth/lein-git-down to fetch git dependencies. This plugin supports transitive dependency (as can be seen here https://github.com/reifyhealth/lein-git-down#transitive-dependencies) but it seems like if it loads pom.xml without dependencies defined, it will not look for dependencies in deps.edn.
That wouldn't be a problem in it self but I also use
nl.mediquest/duct.module.reitit "1.0.3"package which for this particular verions usesmetosin/malli "0.2.1". And since the transitive dependency is not working, funicular uses version0.2.1which is problem as minimum verions for this package to work is0.3.0Solution
Update
pom.xmlto matchdeps.ednwith simpleclojure -SpomHow to reproduce
Create Lein project and add following into
project.cljThen add funicular and create simple route that has
input-schema :anyand it will throw errorHow to test
Just point funicular to use this commit and the error will disappear.