removed additional bundles by reducing Import-Packages.
authorErik Brakkee <erik@brakkee.org>
Thu, 18 Aug 2011 11:04:52 +0000 (13:04 +0200)
committerErik Brakkee <erik@brakkee.org>
Thu, 18 Aug 2011 11:04:52 +0000 (13:04 +0200)
integrationtest/src/test/java/org/wamblee/xmlrouter/integrationtest/XmlRouterIntegrationTest.java
listener/pom.xml

index 5f93ff8d3ee2f766bd452b2f4dcc425ee54af4b9..912749929b3c131445859df66c6b41b17068115c 100644 (file)
@@ -36,13 +36,6 @@ public class XmlRouterIntegrationTest {
             mavenBundle().groupId("org.mockito").artifactId("mockito-all")
                 .version("1.8.5"), //
 
-            // Dependencies from wamblee utils (TODO create bundle of
-            // support-general with optional dependencies).
-            mavenBundle().groupId("org.eclipse.persistence")
-                .artifactId("javax.persistence").version("2.0.0"), //
-            wrappedBundle(mavenBundle().groupId("net.sf.ehcache")
-                .artifactId("ehcache-core").version("2.2.0")), //
-
             // XML Router API packages.
             mavenBundle().groupId("org.wamblee.xmlrouter")
                 .artifactId("xmlrouter-common").versionAsInProject(),//
index 0a635e9b7dd4150769b09caec44ea5f3621fa04f..8b3fd575124fc712b9c2ec52fdb1e0c711d25aa4 100644 (file)
@@ -49,6 +49,7 @@
                         <Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
                         <Embed-Dependency>wamblee-support-general;scope=compile|runtime</Embed-Dependency>
                         <Embed-Directory>lib</Embed-Directory>
+                        <Import-Package>!javax.persistence, !net.sf.ehcache, *</Import-Package>
                     </instructions>
                 </configuration>
             </plugin>