Stop deducing confs from classifier when delivering

This commit is contained in:
Dan Sanduleac 2013-12-04 13:46:53 +00:00
parent 63d657e9c0
commit 978f2304e5
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ object Defaults extends BuildCommon {
a.copy(classifier = Some(classifierString), `type` = Artifact.classifierType(classifierString), configurations = confs)
}
}
// TODO bad, remove. The configuration(s) should not be decided from the classifier.
@deprecated("The configuration(s) should not be decided based on the classifier.", "1.0")
def artifactConfigurations(base: Artifact, scope: Configuration, classifier: Option[String]): Iterable[Configuration] =
classifier match {
case Some(c) => Artifact.classifierConf(c) :: Nil