diff --git a/project/build/AkkaProject.scala b/project/build/AkkaProject.scala index 945cd2491f..3b8bdf44da 100644 --- a/project/build/AkkaProject.scala +++ b/project/build/AkkaProject.scala @@ -306,7 +306,18 @@ class AkkaParent(info: ProjectInfo) extends DefaultProject(info) { override def bndClasspath = compileClasspath override def bndPrivatePackage = Set("") override def bndImportPackage = Set("*;resolution:=optional") - override def bndExportPackage = Set("!se.scalablesolutions.akka.*", "*") + override def bndExportPackage = Set( + // Provided by Akka bundle + "!se.scalablesolutions.akka.*", + + // Provided by other bundles + "!org.apache.commons.io.*", + "!org.codehaus.jackson.*", + "!org.codehaus.jettison.*", + "!org.jboss.netty.*", + + // Export the rest + "*") } class AkkaOSGiAssemblyProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {