ysb33r / ivypot-gradle-plugin

Ivypot is a Gradle plugin to help managing a local off-line repository for builds in restricted environments
Apache License 2.0
45 stars 14 forks source link

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

Open lukecwik opened 6 years ago

lukecwik commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 5 years ago

Did you actually include the local ivy when running offline?