diff --git a/ivy/CustomPomParser.scala b/ivy/CustomPomParser.scala index 9135cab41..98e22b462 100644 --- a/ivy/CustomPomParser.scala +++ b/ivy/CustomPomParser.scala @@ -35,7 +35,7 @@ object CustomPomParser val ExtraAttributesKey = "extraDependencyAttributes" // packagings that should be jars, but that Ivy doesn't handle as jars - val JarPackagings = Set("eclipse-plugin") + val JarPackagings = Set("eclipse-plugin", "hk2-jar") val default = new CustomPomParser(PomModuleDescriptorParser.getInstance, defaultTransform) // Unfortunately, ModuleDescriptorParserRegistry is add-only and is a singleton instance. diff --git a/main/Defaults.scala b/main/Defaults.scala index 9ad85d819..48267ff9f 100755 --- a/main/Defaults.scala +++ b/main/Defaults.scala @@ -99,7 +99,7 @@ object Defaults extends BuildCommon javaOptions :== Nil, sbtPlugin :== false, crossPaths :== true, - classpathTypes :== Set("jar", "bundle"), + classpathTypes :== Set("jar", "bundle", "hk2-jar"), aggregate :== true, maxErrors :== 100, showTiming :== true,