From 933d5fb0fedb89931e328c9d7c1c26f20fbcda13 Mon Sep 17 00:00:00 2001 From: Kevin Scaldeferri Date: Fri, 21 Sep 2012 16:14:56 +0100 Subject: [PATCH] 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. --- main/Defaults.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Defaults.scala b/main/Defaults.scala index c77a5224be..f805f94a87 100755 --- a/main/Defaults.scala +++ b/main/Defaults.scala @@ -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,