mirror of https://github.com/sbt/sbt.git
Add 'scala-jar' to the list of jar artifacts.
The CustomPomParser has a hard-coded list of 'blessed' Maven POM packaging types that are actually packaged as jar files, but Ivy incorrectly maps the file extension. This patch allows artifacts published with the 'scala-jar' packaging to be properly resolved and used in an SBT project.
This commit is contained in:
parent
fbb0e318fd
commit
0ac485feb7
|
|
@ -37,7 +37,7 @@ object CustomPomParser {
|
|||
private[this] val unqualifiedKeys = Set(SbtVersionKey, ScalaVersionKey, ExtraAttributesKey, ApiURLKey)
|
||||
|
||||
// packagings that should be jars, but that Ivy doesn't handle as jars
|
||||
val JarPackagings = Set("eclipse-plugin", "hk2-jar", "orbit")
|
||||
val JarPackagings = Set("eclipse-plugin", "hk2-jar", "orbit", "scala-jar")
|
||||
val default = new CustomPomParser(PomModuleDescriptorParser.getInstance, defaultTransform)
|
||||
|
||||
private[this] val TransformedHashKey = "e:sbtTransformHash"
|
||||
|
|
|
|||
Loading…
Reference in New Issue