Author: gnodet Date: Wed Apr 23 04:52:48 2008 New Revision: 650837 URL: http://svn.apache.org/viewvc?rev=650837&view=rev Log: Use the new spec jars, upgrade spring and kernel to latest versions, add an integration test for cxf Added: servicemix/smx4/features/trunk/examples/itests/ (with props) servicemix/smx4/features/trunk/examples/itests/pom.xml - copied, changed from r646413, servicemix/smx4/nmr/trunk/jbi/itests/pom.xml servicemix/smx4/features/trunk/examples/itests/src/ servicemix/smx4/features/trunk/examples/itests/src/test/ servicemix/smx4/features/trunk/examples/itests/src/test/java/ servicemix/smx4/features/trunk/examples/itests/src/test/java/org/ servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/ servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/servicemix/ servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/servicemix/examples/ servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java servicemix/smx4/features/trunk/examples/itests/src/test/resources/ servicemix/smx4/features/trunk/examples/itests/src/test/resources/log4j.properties servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/ servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/apache/ servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/apache/servicemix/ servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF Removed: servicemix/smx4/features/trunk/camel/bundles/jaxb-api/ servicemix/smx4/features/trunk/cxf/bundles/jaxws-api/ Modified: servicemix/smx4/features/trunk/assembly/pom.xml servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/etc/startup.properties servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml servicemix/smx4/features/trunk/camel/bundles/pom.xml servicemix/smx4/features/trunk/cxf/bundles/cxf/pom.xml servicemix/smx4/features/trunk/cxf/bundles/pom.xml 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 servicemix/smx4/features/trunk/examples/pom.xml servicemix/smx4/features/trunk/management/acegi/pom.xml servicemix/smx4/features/trunk/pom.xml Modified: servicemix/smx4/features/trunk/assembly/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/pom.xml (original) +++ servicemix/smx4/features/trunk/assembly/pom.xml Wed Apr 23 04:52:48 2008 @@ -199,18 +199,28 @@ org.apache.servicemix.bundles - org.apache.servicemix.bundles.jaxb-api-2.0 + org.apache.servicemix.bundles.wsdl4j-1.6.1 ${version} - org.apache.servicemix.bundles - org.apache.servicemix.bundles.jaxws-api-2.0 - ${version} + org.apache.servicemix.specs + org.apache.servicemix.specs.jaxb-api-2.0 + ${servicemix.specs.version} - org.apache.servicemix.bundles - org.apache.servicemix.bundles.wsdl4j-1.6.1 - ${version} + org.apache.servicemix.specs + org.apache.servicemix.specs.jaxws-api-2.0 + ${servicemix.specs.version} + + + org.apache.servicemix.specs + org.apache.servicemix.specs.stax-api-1.0 + ${servicemix.specs.version} + + + org.apache.servicemix.specs + org.apache.servicemix.specs.saaj-api-1.3 + ${servicemix.specs.version} org.apache.xbean @@ -412,17 +422,6 @@ - javax.xml.bind - jaxb-api - ${jaxb.api.version} - - - javax.activation - activation - - - - com.sun.xml.bind jaxb-impl ${jaxb.impl.version} @@ -432,11 +431,6 @@ activation - - - javax.xml.ws - jaxws-api - ${jaxws.api.version} com.sun.xml.messaging.saaj Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml (original) +++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml Wed Apr 23 04:52:48 2008 @@ -106,6 +106,7 @@ org.apache.geronimo.specs:geronimo-activation_1.1_spec + org.apache.servicemix.specs:org.apache.servicemix.specs.stax-api-1.0 org.apache.servicemix.bundles:org.apache.servicemix.bundles.woodstox-3.2.3 org.apache.felix:org.apache.felix.prefs org.apache.xbean:xbean-classloader @@ -156,13 +157,13 @@ org.apache.geronimo.specs:geronimo-annotation_1.0_spec org.apache.geronimo.specs:geronimo-javamail_1.4_spec - org.apache.geronimo.specs:geronimo-saaj_1.3_spec + org.apache.servicemix.specs:org.apache.servicemix.specs.saaj-api-1.3 org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec org.apache.servicemix.bundles:org.apache.servicemix.bundles.asm-2.2.3 org.apache.servicemix.bundles:org.apache.servicemix.bundles.cxf-2.0.5 - org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-api-2.0 + org.apache.servicemix.specs:org.apache.servicemix.specs.jaxb-api-2.0 org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-impl-2.0.3 - org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxws-api-2.0 + org.apache.servicemix.specs:org.apache.servicemix.specs.jaxws-api-2.0 org.apache.servicemix.bundles:org.apache.servicemix.bundles.neethi-2.0.2 org.apache.servicemix.bundles:org.apache.servicemix.bundles.saaj-impl-1.3 org.apache.servicemix.bundles:org.apache.servicemix.bundles.woodstox-3.2.3 Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml (original) +++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml Wed Apr 23 04:52:48 2008 @@ -97,6 +97,7 @@ org.apache.geronimo.specs:geronimo-activation_1.1_spec + org.apache.servicemix.specs:org.apache.servicemix.specs.stax-api-1.0 org.apache.servicemix.bundles:org.apache.servicemix.bundles.woodstox-3.2.3 org.apache.felix:org.apache.felix.prefs org.apache.xbean:xbean-classloader @@ -147,13 +148,13 @@ org.apache.geronimo.specs:geronimo-annotation_1.0_spec org.apache.geronimo.specs:geronimo-javamail_1.4_spec - org.apache.geronimo.specs:geronimo-saaj_1.3_spec + org.apache.servicemix.specs:org.apache.servicemix.specs.saaj-api-1.3 org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec org.apache.servicemix.bundles:org.apache.servicemix.bundles.asm-2.2.3 org.apache.servicemix.bundles:org.apache.servicemix.bundles.cxf-2.0.5 - org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-api-2.0 + org.apache.servicemix.specs:org.apache.servicemix.specs.jaxb-api-2.0 org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-impl-2.0.3 - org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxws-api-2.0 + org.apache.servicemix.specs:org.apache.servicemix.specs.jaxws-api-2.0 org.apache.servicemix.bundles:org.apache.servicemix.bundles.neethi-2.0.2 org.apache.servicemix.bundles:org.apache.servicemix.bundles.saaj-impl-1.3 org.apache.servicemix.bundles:org.apache.servicemix.bundles.woodstox-3.2.3 Modified: servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/etc/startup.properties URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/etc/startup.properties?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/etc/startup.properties (original) +++ servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/etc/startup.properties Wed Apr 23 04:52:48 2008 @@ -97,14 +97,15 @@ geronimo-annotation_1.0_spec-${geronimo.annotation.version}.jar=50 geronimo-javamail_1.4_spec-${geronimo.javamail.version}.jar=50 -geronimo-saaj_1.3_spec-${geronimo.saaj.version}.jar=50 geronimo-ws-metadata_2.0_spec-${geronimo.wsmetadata.version}.jar=50 +org.apache.servicemix.specs.saaj-api-1.3-${servicemix.specs.version}.jar=50 +org.apache.servicemix.specs.stax-api-1.0-${servicemix.specs.version}.jar=50 +org.apache.servicemix.specs.jaxb-api-2.0-${servicemix.specs.version}.jar=50 +org.apache.servicemix.specs.jaxws-api-2.0-${servicemix.specs.version}.jar=50 org.apache.servicemix.bundles.asm-2.2.3-${servicemix.kernel.version}.jar=50 org.apache.servicemix.bundles.cxf-2.0.5-${version}.jar=50 -org.apache.servicemix.bundles.jaxb-api-2.0-${version}.jar=50 org.apache.servicemix.bundles.jaxb-impl-2.0.3-${version}.jar=50 -org.apache.servicemix.bundles.jaxws-api-2.0-${version}.jar=50 org.apache.servicemix.bundles.neethi-2.0.2-${version}.jar=50 org.apache.servicemix.bundles.saaj-impl-1.3-${version}.jar=50 org.apache.servicemix.bundles.woodstox-3.2.3-${servicemix.nmr.version}.jar=50 Modified: servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml (original) +++ servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml Wed Apr 23 04:52:48 2008 @@ -60,13 +60,13 @@ cxf web-core mvn:org.ops4j.pax.web-extender/pax-web-ex-whiteboard/${pax.web.extender.version} - mvn:org.apache.servicemix.ejb3/org.apache.servicemix.cxf.transport.osgi/${version} + mvn:org.apache.servicemix.cxf/org.apache.servicemix.cxf.transport.osgi/${version} cxf nmr - mvn:org.apache.servicemix.ejb3/org.apache.servicemix.cxf.transport.nmr/${version} - mvn:org.apache.servicemix.ejb3/org.apache.servicemix.cxf.binding.nmr/${version} + mvn:org.apache.servicemix.cxf/org.apache.servicemix.cxf.transport.nmr/${version} + mvn:org.apache.servicemix.cxf/org.apache.servicemix.cxf.binding.nmr/${version} mvn:org.apache.geronimo.specs/geronimo-activation_1.1_spec/${geronimo.activation.version} Modified: servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml (original) +++ servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml Wed Apr 23 04:52:48 2008 @@ -59,6 +59,18 @@ true + org.apache.servicemix.specs + org.apache.servicemix.specs.stax-api-1.0 + ${servicemix.specs.version} + true + + + org.apache.servicemix.specs + org.apache.servicemix.specs.jaxb-api-2.0 + ${servicemix.specs.version} + true + + junit junit ${junit.version} Modified: servicemix/smx4/features/trunk/camel/bundles/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/bundles/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/camel/bundles/pom.xml (original) +++ servicemix/smx4/features/trunk/camel/bundles/pom.xml Wed Apr 23 04:52:48 2008 @@ -33,7 +33,6 @@ Apache ServiceMix OSGI Common Bundles - jaxb-api jaxb-impl Modified: servicemix/smx4/features/trunk/cxf/bundles/cxf/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/cxf/bundles/cxf/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/cxf/bundles/cxf/pom.xml (original) +++ servicemix/smx4/features/trunk/cxf/bundles/cxf/pom.xml Wed Apr 23 04:52:48 2008 @@ -79,9 +79,9 @@ - org.apache.servicemix.bundles - org.apache.servicemix.bundles.jaxws-api-2.0 - ${pom.version} + org.apache.servicemix.specs + org.apache.servicemix.specs.jaxws-api-2.0 + ${servicemix.specs.version} org.apache.servicemix.bundles Modified: servicemix/smx4/features/trunk/cxf/bundles/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/cxf/bundles/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/cxf/bundles/pom.xml (original) +++ servicemix/smx4/features/trunk/cxf/bundles/pom.xml Wed Apr 23 04:52:48 2008 @@ -34,7 +34,6 @@ cxf - jaxws-api neethi saaj-impl wsdl4j 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=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/examples/cxf-camel-nmr/pom.xml (original) +++ servicemix/smx4/features/trunk/examples/cxf-camel-nmr/pom.xml Wed Apr 23 04:52:48 2008 @@ -62,7 +62,6 @@ ${pom.artifactId} javax.jws,META-INF.cxf,META-INF.cxf.transport.nmr,org.apache.servicemix.camel,* org.apache.servicemix.examples.cxfcamel - org.apache.servicemix.bundles.woodstox-3.2.3 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=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/examples/cxf-nmr/pom.xml (original) +++ servicemix/smx4/features/trunk/examples/cxf-nmr/pom.xml Wed Apr 23 04:52:48 2008 @@ -51,7 +51,6 @@ ${pom.artifactId} javax.jws,META-INF.cxf,META-INF.cxf.transport.nmr org.apache.servicemix.examples.cxf - org.apache.servicemix.bundles.woodstox-3.2.3 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=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/examples/cxf-osgi/pom.xml (original) +++ servicemix/smx4/features/trunk/examples/cxf-osgi/pom.xml Wed Apr 23 04:52:48 2008 @@ -51,7 +51,6 @@ ${pom.artifactId} javax.jws,META-INF.cxf,META-INF.cxf.osgi org.apache.servicemix.examples.cxf - org.apache.servicemix.bundles.woodstox-3.2.3 Propchange: servicemix/smx4/features/trunk/examples/itests/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Apr 23 04:52:48 2008 @@ -0,0 +1,9 @@ +target +*.iml +*.ipr +*.iws +.classpath +.project +.settings + + Copied: servicemix/smx4/features/trunk/examples/itests/pom.xml (from r646413, servicemix/smx4/nmr/trunk/jbi/itests/pom.xml) URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/pom.xml?p2=servicemix/smx4/features/trunk/examples/itests/pom.xml&p1=servicemix/smx4/nmr/trunk/jbi/itests/pom.xml&r1=646413&r2=650837&rev=650837&view=diff ============================================================================== --- servicemix/smx4/nmr/trunk/jbi/itests/pom.xml (original) +++ servicemix/smx4/features/trunk/examples/itests/pom.xml Wed Apr 23 04:52:48 2008 @@ -21,25 +21,21 @@ 4.0.0 - org.apache.servicemix.jbi - jbi - 1.0-m2-SNAPSHOT + org.apache.servicemix.examples + examples + 4.0-m2-SNAPSHOT - org.apache.servicemix.jbi - org.apache.servicemix.jbi.itests + org.apache.servicemix.examples + org.apache.servicemix.examples.itests jar - ServiceMix JBI Integration Tests - - - org.springframework.osgi.test.platform.FelixPlatform - + Apache ServiceMix Examples Integration Tests org.apache.servicemix.kernel org.apache.servicemix.kernel.main - ${smx.kernel.version} + ${servicemix.kernel.version} test @@ -51,7 +47,7 @@ org.apache.servicemix.kernel.testing org.apache.servicemix.kernel.testing.support - ${smx.kernel.version} + ${servicemix.kernel.version} test @@ -63,7 +59,7 @@ org.apache.servicemix.kernel org.apache.servicemix.kernel.filemonitor - ${smx.kernel.version} + ${servicemix.kernel.version} test @@ -75,121 +71,164 @@ org.apache.servicemix.bundles org.apache.servicemix.bundles.ant-${ant.version} - ${smx.kernel.version} + ${servicemix.kernel.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.jaxb-impl-2.0.3 + ${project.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.neethi-2.0.2 + ${project.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.woodstox-3.2.3 + ${servicemix.nmr.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.wsdl4j-1.6.1 + ${project.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.xmlschema-1.3.2 + ${project.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.xmlresolver-1.2 + ${project.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.cxf-2.0.5 + ${project.version} org.apache.servicemix.nmr org.apache.servicemix.nmr.api - ${project.version} + ${servicemix.nmr.version} test org.apache.servicemix.nmr org.apache.servicemix.nmr.core - ${project.version} + ${servicemix.nmr.version} test org.apache.servicemix.nmr org.apache.servicemix.nmr.osgi - ${project.version} + ${servicemix.nmr.version} test org.apache.servicemix.nmr org.apache.servicemix.nmr.spring - ${project.version} + ${servicemix.nmr.version} test - org.apache.servicemix.jbi - org.apache.servicemix.jbi.api + org.apache.servicemix.cxf + org.apache.servicemix.cxf.transport.osgi ${project.version} test - org.apache.servicemix.jbi - org.apache.servicemix.jbi.runtime + org.apache.servicemix.cxf + org.apache.servicemix.cxf.transport.nmr ${project.version} test - org.apache.servicemix.jbi - org.apache.servicemix.jbi.osgi - ${project.version} + org.apache.felix + org.apache.felix.prefs + ${felix.prefs.version} test - org.apache.servicemix.jbi - org.apache.servicemix.jbi.deployer + org.apache.servicemix.examples + cxf-osgi ${project.version} - test - org.apache.felix - org.apache.felix.prefs - ${felix.prefs.version} - test + org.apache.servicemix.examples + cxf-nmr + ${project.version} - - org.apache.xbean - xbean-classloader - ${xbean.version} - test + + org.apache.servicemix.specs + org.apache.servicemix.specs.stax-api-1.0 + ${servicemix.specs.version} - org.apache.servicemix - servicemix-shared-compat - ${smx3.version} - installer - zip + org.apache.servicemix.specs + org.apache.servicemix.specs.saaj-api-1.3 + ${servicemix.specs.version} - org.apache.servicemix - servicemix-eip - ${smx3.version} - installer - zip + org.apache.servicemix.specs + org.apache.servicemix.specs.jaxb-api-2.0 + ${servicemix.specs.version} - org.apache.servicemix - servicemix-jsr181 - ${smx3.version} - installer - zip - - - org.springframework - spring - - - xfire - saaj-impl - - + org.apache.servicemix.specs + org.apache.servicemix.specs.jaxws-api-2.0 + ${servicemix.specs.version} - org.apache.servicemix - servicemix-http - ${smx3.version} - installer - zip + org.apache.geronimo.specs + geronimo-activation_1.1_spec + ${geronimo.activation.version} - org.apache.servicemix.samples.wsdl-first - wsdl-first-sa - ${smx3.version} - zip - - - org.apache.servicemix.samples.wsdl-first - wsdl-first-jsr181-su - - - org.apache.servicemix.samples.wsdl-first - wsdl-first-http-su - - + org.apache.geronimo.specs + geronimo-annotation_1.0_spec + ${geronimo.annotation.version} + + + org.apache.geronimo.specs + geronimo-javamail_1.4_spec + ${geronimo.javamail.version} + + + org.apache.geronimo.specs + geronimo-servlet_2.5_spec + ${geronimo.servlet.version} + + + org.apache.geronimo.specs + geronimo-saaj_1.3_spec + ${geronimo.saaj.version} + + + org.apache.geronimo.specs + geronimo-ws-metadata_2.0_spec + ${geronimo.wsmetadata.version} + + + org.mortbay.jetty + jetty-util + ${jetty.version} + + + org.mortbay.jetty + jetty + ${jetty.version} + + + org.ops4j.pax.web + pax-web-bundle + ${pax.web.version} + + + org.ops4j.pax.web-extender + pax-web-ex-whiteboard + ${pax.web.extender.version} @@ -199,7 +238,7 @@ org.apache.servicemix.kernel.testing depends-maven-plugin - ${smx.kernel.version} + ${servicemix.kernel.version} generate-depends-file @@ -209,70 +248,11 @@ - - - org.codehaus.mojo - dependency-maven-plugin - - - copy-components - generate-resources - - copy - - - target/components - - - org.apache.servicemix - servicemix-shared-compat - ${smx3.version} - installer - zip - - - org.apache.servicemix - servicemix-eip - ${smx3.version} - installer - zip - - - org.apache.servicemix - servicemix-jsr181 - ${smx3.version} - installer - zip - - - org.apache.servicemix - servicemix-http - ${smx3.version} - installer - zip - - - org.apache.servicemix.samples.wsdl-first - wsdl-first-sa - ${smx3.version} - zip - - - - - - org.apache.maven.plugins maven-surefire-plugin pertest - - - org.springframework.osgi.test.framework - ${osgi.test.platform} - - Added: servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java?rev=650837&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java (added) +++ servicemix/smx4/features/trunk/examples/itests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java Wed Apr 23 04:52:48 2008 @@ -0,0 +1,94 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.servicemix.examples; + +import java.io.File; +import java.util.Properties; +import java.util.List; + +import org.apache.servicemix.kernel.testing.support.AbstractIntegrationTest; +import org.springframework.osgi.test.platform.OsgiPlatform; + +public class IntegrationTest extends AbstractIntegrationTest { + + private Properties dependencies; + + /** + * The manifest to use for the "virtual bundle" created + * out of the test classes and resources in this project + * + * This is actually the boilerplate manifest with one additional + * import-package added. We should provide a simpler customization + * point for such use cases that doesn't require duplication + * of the entire manifest... + */ + protected String getManifestLocation() { + return "classpath:org/apache/servicemix/MANIFEST.MF"; + } + + /** + * The location of the packaged OSGi bundles to be installed + * for this test. Values are Spring resource paths. The bundles + * we want to use are part of the same multi-project maven + * build as this project is. Hence we use the localMavenArtifact + * helper method to find the bundles produced by the package + * phase of the maven build (these tests will run after the + * packaging phase, in the integration-test phase). + * + * JUnit, commons-logging, spring-core and the spring OSGi + * test bundle are automatically included so do not need + * to be specified here. + */ + protected String[] getTestBundlesNames() { + return new String[] { + getBundle("org.apache.felix", "org.apache.felix.prefs"), + getBundle("org.apache.geronimo.specs", "geronimo-activation_1.1_spec"), + getBundle("org.apache.geronimo.specs", "geronimo-annotation_1.0_spec"), + getBundle("org.apache.geronimo.specs", "geronimo-javamail_1.4_spec"), + getBundle("org.apache.geronimo.specs", "geronimo-servlet_2.5_spec"), + getBundle("org.apache.geronimo.specs", "geronimo-ws-metadata_2.0_spec"), + getBundle("org.apache.servicemix.specs", "org.apache.servicemix.specs.stax-api-1.0"), + getBundle("org.apache.servicemix.specs", "org.apache.servicemix.specs.saaj-api-1.3"), + getBundle("org.apache.servicemix.specs", "org.apache.servicemix.specs.jaxb-api-2.0"), + getBundle("org.apache.servicemix.specs", "org.apache.servicemix.specs.jaxws-api-2.0"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.asm-2.2.3"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.jaxb-impl-2.0.3"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.neethi-2.0.2"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.woodstox-3.2.3"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.wsdl4j-1.6.1"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.xmlschema-1.3.2"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.xmlresolver-1.2"), + getBundle("org.mortbay.jetty", "jetty-util"), + getBundle("org.mortbay.jetty", "jetty"), + getBundle("org.ops4j.pax.web", "pax-web-bundle"), + getBundle("org.ops4j.pax.web-extender", "pax-web-ex-whiteboard"), + getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.cxf-2.0.5"), + getBundle("org.apache.servicemix.cxf", "org.apache.servicemix.cxf.transport.osgi"), + getBundle("org.apache.servicemix.cxf", "org.apache.servicemix.cxf.transport.nmr"), + getBundle("org.apache.servicemix.nmr", "org.apache.servicemix.nmr.api"), + getBundle("org.apache.servicemix.nmr", "org.apache.servicemix.nmr.core"), + getBundle("org.apache.servicemix.nmr", "org.apache.servicemix.nmr.spring"), + getBundle("org.apache.servicemix.nmr", "org.apache.servicemix.nmr.osgi"), + }; + } + + public void testJbiComponent() throws Exception { + installBundle("org.apache.servicemix.examples", "cxf-nmr", null, "jar"); + } + + +} Added: servicemix/smx4/features/trunk/examples/itests/src/test/resources/log4j.properties URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/src/test/resources/log4j.properties?rev=650837&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/itests/src/test/resources/log4j.properties (added) +++ servicemix/smx4/features/trunk/examples/itests/src/test/resources/log4j.properties Wed Apr 23 04:52:48 2008 @@ -0,0 +1,34 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + +log4j.rootLogger=DEBUG, stdout + +log4j.logger.org.springframework.osgi=DEBUG +log4j.logger.org.apache.camel=DEBUG +log4j.logger.org.apache.servicemix=DEBUG + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n + +log4j.appender.out=org.apache.log4j.FileAppender +log4j.appender.out.layout=org.apache.log4j.PatternLayout +log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n +log4j.appender.out.file=target/servicemix-test.log +log4j.appender.out.append=true + Added: servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF?rev=650837&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF (added) +++ servicemix/smx4/features/trunk/examples/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF Wed Apr 23 04:52:48 2008 @@ -0,0 +1,32 @@ +Manifest-Version: 1.0 +License-00: . +License-01: Licensed to the Apache Software Foundation (ASF) under one or more +License-02: contributor license agreements. See the NOTICE file distributed with +License-03: this work for additional information regarding copyright ownership. +License-04: The ASF licenses this file to You under the Apache License, Version 2.0 +License-05: (the "License"); you may not use this file except in compliance with +License-06: the License. You may obtain a copy of the License at +License-07: . +License-08: http://www.apache.org/licenses/LICENSE-2.0 +License-09: . +License-10: Unless required by applicable law or agreed to in writing, software +License-11: distributed under the License is distributed on an "AS IS" BASIS, +License-12: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +License-13: See the License for the specific language governing permissions and +License-14: limitations under the License. +License-15: . +Bundle-Name: org.apache.servicemix.test +Bundle-SymbolicName: org.apache.servicemix.test +Bundle-Vendor: Spring Framework +Bundle-Activator: org.springframework.osgi.test.JUnitTestActivator +Import-Package: junit.framework, + org.osgi.framework;specification-version="1.3.0", + org.apache.commons.logging, + org.springframework.core, + org.springframework.core.io, + org.springframework.osgi.test, + org.springframework.osgi.test.platform, + org.apache.servicemix.nmr.api, + org.apache.servicemix.nmr.core, + org.apache.servicemix.kernel.testing.support, + org.springframework.osgi.util Modified: servicemix/smx4/features/trunk/examples/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/examples/pom.xml (original) +++ servicemix/smx4/features/trunk/examples/pom.xml Wed Apr 23 04:52:48 2008 @@ -38,6 +38,7 @@ cxf-camel-nmr cxf-nmr cxf-osgi + itests Modified: servicemix/smx4/features/trunk/management/acegi/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/management/acegi/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/management/acegi/pom.xml (original) +++ servicemix/smx4/features/trunk/management/acegi/pom.xml Wed Apr 23 04:52:48 2008 @@ -43,6 +43,10 @@ org.springframework spring-remoting + + org.springframework + spring-jdbc + @@ -50,11 +54,13 @@ spring-context ${spring.version} + org.apache.felix org.osgi.core Modified: servicemix/smx4/features/trunk/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=650837&r1=650836&r2=650837&view=diff ============================================================================== --- servicemix/smx4/features/trunk/pom.xml (original) +++ servicemix/smx4/features/trunk/pom.xml Wed Apr 23 04:52:48 2008 @@ -113,11 +113,12 @@ 0.3.0 0.4.1 0.3.0 - 1.0 - 1.0-m2 + 1.0-SNAPSHOT + 1.0-m3-SNAPSHOT 1.0-m1 - 2.5.1 - 1.0 + 1.0-SNAPSHOT + 2.5.2 + 1.0.2 1.2.2 3.3.1-r643297 @@ -357,16 +358,15 @@ - - org.apache.maven.plugins - maven-eclipse-plugin - 2.4 - - ${basedir}/eclipse-classes - true - true - - + + org.apache.maven.plugins + maven-release-plugin + 2.0-beta-7 + + clean,verify,install + true + + org.apache.felix maven-bundle-plugin @@ -404,6 +404,7 @@ org.apache.maven.plugins maven-dependency-plugin + 2.0 copy-legal