-
Notifications
You must be signed in to change notification settings - Fork 935
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
Version ranges (dynamic revision) have issues with bintray #2005
Comments
Is there any estimate of when this problem will be resolved? |
I spent some time looking into this, and @jsuereth is right.
scala> import org.apache.ivy.util.url.ApacheURLLister
import org.apache.ivy.util.url.ApacheURLLister
scala> val lister = new ApacheURLLister
lister: org.apache.ivy.util.url.ApacheURLLister = org.apache.ivy.util.url.ApacheURLLister@29859ec3
scala> import java.net.URL
import java.net.URL
scala> lister.listAll(new URL("https://repo.typesafe.com/typesafe/releases/play/play_2.10/")).toArray.toList
res0: List[Object] = List()
scala> lister.listAll(new URL("https://dl.bintray.com/typesafe/maven-releases/play/play_2.10/")).toArray.toList
res1: List[Object] = List()
scala> lister.listAll(new URL("https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/")).toArray.toList
res2: List[Object] = List(https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/2.3.9/, https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/2.4-2014-09-01-6344061-SNAPSHOT/, https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/2.4-2014-09-02-3516a0a-SNAPSHOT/, https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/2.4-2014-09-03-3516a0a-SNAPSHOT/, https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/2.4-2014-09-04-3516a0a-SNAPSHOT/, https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/2.4-2014-09-05-3516a0a-SNAPSHOT/, https://oss.sonatype.org/content/repositories/public/com/typesafe/play/play_2.11/2.4-2014-09-06-08c504a-SNA... This likely require us writing a screen scraper compat with Bintray's html page, or Bintray somehow faking the html output of Apache. |
When I download the source of https://dl.bintray.com/typesafe/maven-releases/play/play_2.10/ and remove the
|
Some new information has come to light. Bintray support confirmed that missing When I went digging into Ivy's code base I discovered that it's been checking if the repository layout pattern ends with |
…51ec93 When I went digging into Ivy's code base I discovered that it's been checking if the repository layout pattern ends with M2_PATTERN to use maven-metadata.xml, which for sbt would return false since we customize the mattern - https://github.com/apache/ant-ivy/blob/2.3.0/src/java/org/apache/ivy/plu gins/resolver/IBiblioResolver.java#L497-L499
Fixes #2005. Bump to ivy 2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc…
steps
build.sbt:
problem
original report
See https://groups.google.com/d/msg/play-framework/ES8WDB0pIA0/Q8bYH9jaRZoJ
And comment from @jsuereth:
The text was updated successfully, but these errors were encountered: