-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency not resolving in case pom existing but jar missing in repository #107
Comments
The current workaround is seem to make sure geotoolkit-repo is before Maven Central, so that it resolves before Central which misses the jar. |
Is there a way to force ivy to check the geotools repo first? |
@ileasile It seems natural to have repositories in the order:
And this would fix this situation. |
Now if the repo being added already exists, it is moved to the end of the list, effectively lowering its priority. Original issue: Kotlin/kotlin-jupyter#107
Now if the repo being added already exists, it is moved to the end of the list, effectively lowering its priority. Original issue: Kotlin/kotlin-jupyter#107
Will merge a PR in a few days - when the new build of Kotlin will be delivered. |
Kernel v. |
I am currently trying to run geotools via jupyter. For that, I add the repository and dependency.
Geotools itself depends on various other libs, which are pulled from the different repositories. There is a problem, however, with one specific dependency:
javax.media:jai_core
. It is partially available onjcenter.bintray.com
, see theivydata-1.1.3.properties
file from the ivy-cache:The problem here is, that jcenter indeed has the
.pom
on the given location, however it is missing the required.jar
. That leads to a not resolved dependency, as the process is stopping here. If the resolver would continue to check the given@file:Repository("https://repo.osgeo.org/repository/release/")
, it would also be able to find the required.jar
there..My current workaround is to download the
jai_core-1.1.3.jar
from theosgeo
repository and copy it intoivy2/cache/javax.media/jai_core/jars
, but that is not quite the way to do it, if I want to share it with others.The text was updated successfully, but these errors were encountered: