mirror of https://github.com/sbt/sbt.git
Include all JAR packaging types in the default classpathTypes. Fixes #550
These special types need to be recognized in both the POM parser and added to the classpath. The previous code was not DRY, and eclipse-plugin was in one but not the other. This ensures new types can be added in the future without risking this type of oversight.
This commit is contained in:
parent
b353d0b94c
commit
933d5fb0fe
|
|
@ -100,7 +100,7 @@ object Defaults extends BuildCommon
|
|||
javaOptions :== Nil,
|
||||
sbtPlugin :== false,
|
||||
crossPaths :== true,
|
||||
classpathTypes :== Set("jar", "bundle", "hk2-jar", "orbit"),
|
||||
classpathTypes :== Set("jar", "bundle") ++ CustomPomParser.JarPackagings,
|
||||
aggregate :== true,
|
||||
maxErrors :== 100,
|
||||
sourcePositionMappers :== Nil,
|
||||
|
|
|
|||
Loading…
Reference in New Issue