Skip to content

Commit

Permalink
Include all JAR packaging types in the default classpathTypes. Fixes #…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
kscaldef authored and harrah committed Sep 21, 2012
1 parent b353d0b commit 933d5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/Defaults.scala
Expand Up @@ -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,
Expand Down

0 comments on commit 933d5fb

Please sign in to comment.