You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2008/06/19 16:24:23 UTC

svn commit: r669494 - in /servicemix/smx4/features/trunk/examples: cxf-camel-nmr/pom.xml cxf-nmr/pom.xml cxf-osgi/pom.xml

Author: gertv
Date: Thu Jun 19 07:24:23 2008
New Revision: 669494

URL: http://svn.apache.org/viewvc?rev=669494&view=rev
Log:
SMX4-31: ClassNotFoundExceptions when running CXF examples

Modified:
    servicemix/smx4/features/trunk/examples/cxf-camel-nmr/pom.xml
    servicemix/smx4/features/trunk/examples/cxf-nmr/pom.xml
    servicemix/smx4/features/trunk/examples/cxf-osgi/pom.xml

Modified: servicemix/smx4/features/trunk/examples/cxf-camel-nmr/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-camel-nmr/pom.xml?rev=669494&r1=669493&r2=669494&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-camel-nmr/pom.xml (original)
+++ servicemix/smx4/features/trunk/examples/cxf-camel-nmr/pom.xml Thu Jun 19 07:24:23 2008
@@ -60,8 +60,15 @@
                 <configuration>
                     <instructions>
                         <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
-                        <Import-Package>javax.jws,META-INF.cxf,META-INF.cxf.transport.nmr,org.apache.servicemix.camel,*</Import-Package>
+                        <Import-Package>
+                           javax.jws,META-INF.cxf,META-INF.cxf.transport.nmr,
+                          org.apache.cxf.bus,org.apache.servicemix.camel,
+                          org.apache.servicemix.cxf.transport.nmr,
+                          org.apache.servicemix.nmr.api,org.apache.servicemix.nmr.api.event,org.apache.servicemix.nmr.api.internal,
+                          org.springframework.beans.factory.config, *
+                        </Import-Package>
                         <Private-Package>org.apache.servicemix.examples.cxfcamel</Private-Package>
+                        <Require-Bundle>org.apache.cxf.cxf-bundle</Require-Bundle>
                     </instructions>
                 </configuration>
             </plugin>

Modified: servicemix/smx4/features/trunk/examples/cxf-nmr/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-nmr/pom.xml?rev=669494&r1=669493&r2=669494&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-nmr/pom.xml (original)
+++ servicemix/smx4/features/trunk/examples/cxf-nmr/pom.xml Thu Jun 19 07:24:23 2008
@@ -49,8 +49,15 @@
                 <configuration>
                     <instructions>
                         <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
-                        <Import-Package>javax.jws,META-INF.cxf,META-INF.cxf.transport.nmr</Import-Package>
+                        <Import-Package>
+                           javax.jws, javax.wsdl,
+                           META-INF.cxf,META-INF.cxf.transport.nmr,
+                           org.springframework.beans.factory.config,
+                           org.apache.servicemix.cxf.transport.nmr,
+                           org.apache.servicemix.nmr.api,org.apache.servicemix.nmr.api.event,org.apache.servicemix.nmr.api.internal
+                        </Import-Package>
                         <Private-Package>org.apache.servicemix.examples.cxf</Private-Package>
+                        <Require-Bundle>org.apache.cxf.cxf-bundle</Require-Bundle>
                     </instructions>
                 </configuration>
             </plugin>

Modified: servicemix/smx4/features/trunk/examples/cxf-osgi/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-osgi/pom.xml?rev=669494&r1=669493&r2=669494&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-osgi/pom.xml (original)
+++ servicemix/smx4/features/trunk/examples/cxf-osgi/pom.xml Thu Jun 19 07:24:23 2008
@@ -51,6 +51,7 @@
                         <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
                         <Import-Package>
                             javax.jws,
+                            javax.wsdl,
                             META-INF.cxf,
                             META-INF.cxf.osgi,
                             org.apache.cxf.bus,