latest.integration not finding locally published snapshots

200 views
Skip to first unread message

eugene yokota

unread,
Jun 16, 2012, 11:31:23 AM6/16/12
to simple-b...@googlegroups.com
Hi,

A while back jrudolph sent me a pull req to use "latest.integration" for my scripted tests.
I accepted it because it made sense at least in theory.

Then today I realized that even though 0.8.4-SNAPSHOT is published locally the test
seems to be pulling 0.8.3 from the plugin repo even after cleaning the cache.

[info] Done packaging.
[info] published sbt-assembly to /x/.ivy2/local/com.eed3si9n/sbt-assembly/scala_2.9.2/sbt_0.12/0.8.4-SNAPSHOT/jars/sbt-assembly.jar
[info] published sbt-assembly to /x/.ivy2/local/com.eed3si9n/sbt-assembly/scala_2.9.2/sbt_0.12/0.8.4-SNAPSHOT/jars/sbt-assembly.jar.asc
[info] published ivy to /x/.ivy2/local/com.eed3si9n/sbt-assembly/scala_2.9.2/sbt_0.12/0.8.4-SNAPSHOT/ivys/ivy.xml
...
[info] [info] Resolving com.eed3si9n#sbt-assembly;latest.integration ...
...
[info] [info] [SUCCESSFUL ] com.eed3si9n#sbt-assembly;0.8.3!sbt-assembly.jar (345ms)

Is sbt picking the latest from the first repo that it finds the plugin?
If so is there a way to change the order? Filtering URLRepository from externalResolvers or adding defaultLocal didn't seem to work.

-eugene

Paul Phillips

unread,
Jun 16, 2012, 12:18:45 PM6/16/12
to simple-b...@googlegroups.com
I may be way off in the woods, but in case it works out, I suggest trying force().  I guess it would look like this:

  addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.4-SNAPSHOT" force())


-eugene

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/PKY7bhln59AJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

Paul Phillips

unread,
Jun 16, 2012, 12:19:23 PM6/16/12
to simple-b...@googlegroups.com
Er, that is, "latest.integration", still with force().

eugene yokota

unread,
Jun 16, 2012, 12:27:25 PM6/16/12
to simple-b...@googlegroups.com
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "latest.integration" force())

but still downloading:
com.eed3si9n#sbt-assembly;0.8.3!sbt-assembly.jar (343ms)

Checked the ivy.xml files and it looks ok to me:

<info organisation="com.eed3si9n" module="sbt-assembly"
revision="0.8.3" status="release" publication="20120604235805"
e:scalaVersion="2.9.2" e:sbtVersion="0.12">

<info organisation="com.eed3si9n" module="sbt-assembly"
revision="0.8.4-SNAPSHOT" status="integration"
publication="20120616122146" e:scalaVersion="2.9.2"
e:sbtVersion="0.12">

-eugene
Reply all
Reply to author
Forward
0 new messages