You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/06/11 16:36:54 UTC
svn commit: r783800 -
/servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/pom.xml
Author: ffang
Date: Thu Jun 11 14:36:54 2009
New Revision: 783800
URL: http://svn.apache.org/viewvc?rev=783800&view=rev
Log:
[SMX4-306]ensure all test pass with IBM jdk
Modified:
servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/pom.xml
Modified: servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/pom.xml?rev=783800&r1=783799&r2=783800&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/pom.xml (original)
+++ servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/pom.xml Thu Jun 11 14:36:54 2009
@@ -190,5 +190,69 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>ibmjdk</id>
+ <activation>
+ <property>
+ <name>java.vendor</name>
+ <value>IBM Corporation</value>
+ </property>
+ </activation>
+ <!--
+ Add the Sun jaxp-ri as a dependency when using the ibm jdk, so that
+ cxf's dependency on the Sun saaj can work with the ibm jdk.
+ -->
+ <dependencies>
+ <dependency>
+ <groupId>com.sun.xml.parsers</groupId>
+ <artifactId>jaxp-ri</artifactId>
+ <version>1.4.2</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*Test*</include>
+ </includes>
+ <excludes>
+ <exclude>**/*$*</exclude>
+ </excludes>
+ <forkMode>${surefire.fork.mode}</forkMode>
+ <systemProperties>
+ <property>
+ <name>derby.system.home</name>
+ <value>${basedir}/target/derby</value>
+ </property>
+ <!--
+ With Maven 2.0.7, it's possible that jaxp-ri will be placed
+ in front of woodstox on the classpath. If this happens, cxf
+ will not use woodstox, causing test failures (e.g.,
+ CxfBcProviderConsumerMtomTest). So, set these properties to
+ ensure woodstox is used. Maven 2.0.9 doesn't require this
+ work-around since it consistently places jaxp-ri at the end
+ of the dependencies.
+ -->
+ <property>
+ <name>javax.xml.stream.XMLInputFactory</name>
+ <value>com.ctc.wstx.stax.WstxInputFactory</value>
+ </property>
+ <property>
+ <name>javax.xml.stream.XMLOutputFactory</name>
+ <value>com.ctc.wstx.stax.WstxOutputFactory</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+ </profile>
+
+ </profiles>
</project>