Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Ivypot fails to resolve the correct version of a plugin #28

Open
lukecwik opened this issue Dec 21, 2017 · 3 comments
Open

Ivypot fails to resolve the correct version of a plugin #28

lukecwik opened this issue Dec 21, 2017 · 3 comments

Comments

@lukecwik
Copy link

lukecwik commented Dec 21, 2017

Ivypot resolves the following dependency:
org.sonatype.sisu/sisu-guice/3.1.3/sisu-guice-3.1.3-no_aop.jar

and then when attempting to build with the offline repo Gradle complains about this version missing:
org.sonatype.sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar

Code snapshot:
https://github.com/lukecwik/incubator-beam/tree/ivypot

Repro (after cloning the above repo):

./gradlew :sync:syncRemoteRepositories
./gradlew --offline
@gijsleussink
Copy link

When running the first Gradle command, I get these failed downloads. Do you perhaps have them in your mavenLocal repo?

::::::::::::::::::::::::::::::::::::::::::::::
::              FAILED DOWNLOADS            ::
:: ^ see resolution messages for details  ^ ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.eclipse.sisu#org.eclipse.sisu.plexus;0.0.0.M5!org.eclipse.sisu.plexus.eclipse-plugin
:: org.eclipse.sisu#org.eclipse.sisu.inject;0.0.0.M5!org.eclipse.sisu.inject.eclipse-plugin
::::::::::::::::::::::::::::::::::::::::::::::

@lukecwik
Copy link
Author

lukecwik commented Jan 2, 2018

When they are in my maven repo it gets passed the FAILED DOWNLOADS. After removing them from my local maven repo, I get the FAILED DOWNLOADS when attempting to perform syncRemoteRepositiories

@ysb33r
Copy link
Owner

ysb33r commented May 8, 2019

Did you actually include the local ivy when running offline?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants