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:
Kevin Scaldeferri 2012-09-21 16:14:56 +01:00 committed by Mark Harrah
parent b353d0b94c
commit 933d5fb0fe
1 changed files with 1 additions and 1 deletions

View File

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