Pending test for sbt/sbt#2431

This commit is contained in:
Martin Duhem 2016-03-07 11:37:39 +01:00 committed by Eugene Yokota
parent 6a9ced8eb6
commit 49a934ffdb
5 changed files with 31 additions and 0 deletions

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,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

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>