Merge pull request #2593 from eed3si9n/fport/2500

FPORT: Fix sbt/sbt#2431
This commit is contained in:
eugene yokota 2016-05-06 19:26:47 -04:00
commit 3859aac569
6 changed files with 32 additions and 1 deletions

View File

@ -11,7 +11,7 @@ object Dependencies {
// sbt modules
val ioVersion = "1.0.0-M5"
val utilVersion = "0.1.0-M12"
val librarymanagementVersion = "0.1.0-M8"
val librarymanagementVersion = "0.1.0-M9"
val zincVersion = "1.0.0-M1"
lazy val sbtIO = "org.scala-sbt" %% "io" % ioVersion
lazy val utilCollection = "org.scala-sbt" %% "util-collection" % utilVersion

View File

@ -0,0 +1,12 @@
resolvers += Resolver.file("buggy", file("repo"))(
Patterns(
ivyPatterns = Seq("[organization]/[module]/[revision]/ivy.xml"),
artifactPatterns = Seq("[organization]/[module]/[revision]/[artifact].[ext]"),
isMavenCompatible = false,
descriptorOptional = true,
skipConsistencyCheck = true
)
)
libraryDependencies += "a" % "b" % "1.0.0" % "compile->runtime" artifacts(Artifact("b1", "jar", "jar"))
libraryDependencies += "a" % "b" % "1.0.0" % "test->runtime" artifacts(Artifact("b1", "jar", "jar"))

View File

@ -0,0 +1,14 @@
<ivy-module xmlns:e="http://ant.apache.org/ivy/extra" version="2.0">
<info organisation="a" module="b" revision="1.0.0" status="release" publication="20160201120702">
<description>a</description>
</info>
<configurations>
<conf name="runtime" description="..."/>
</configurations>
<publications>
<artifact name="b1.jar" type="jar" ext="jar" conf="runtime"/>
<artifact name="b2.jar" type="jar" ext="jar" conf="runtime"/>
</publications>
<dependencies>
</dependencies>
</ivy-module>

View File

@ -0,0 +1,5 @@
# Verify that we successfully get the artifacts.
# This project depends on a module for which we cannot generate a "default artifact",
# because no such artifact exists.
> update