You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by aj...@apache.org on 2007/10/29 20:46:52 UTC

svn commit: r589826 - /webservices/commons/branches/modules/XmlSchema/1.3.3/pom.xml

Author: ajith
Date: Mon Oct 29 12:46:51 2007
New Revision: 589826

URL: http://svn.apache.org/viewvc?rev=589826&view=rev
Log:
1. Including the fix for the IBM jdk issue. (Nearly missed it!!)

Modified:
    webservices/commons/branches/modules/XmlSchema/1.3.3/pom.xml

Modified: webservices/commons/branches/modules/XmlSchema/1.3.3/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/branches/modules/XmlSchema/1.3.3/pom.xml?rev=589826&r1=589825&r2=589826&view=diff
==============================================================================
--- webservices/commons/branches/modules/XmlSchema/1.3.3/pom.xml (original)
+++ webservices/commons/branches/modules/XmlSchema/1.3.3/pom.xml Mon Oct 29 12:46:51 2007
@@ -340,6 +340,101 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+        	<id>DefaultTest</id>
+        	<activation>
+        		<activeByDefault>true</activeByDefault>
+        		<property>
+        			<name>isIBM</name>
+        			<value>false</value>
+        		</property>
+        	</activation>
+        	<build>
+        		<plugins>
+        			<plugin>
+        				<artifactId>maven-surefire-plugin</artifactId>
+        				<!--
+        					Required to run the TestW3CSchemaBucket test
+        					<version>2.3-SNAPSHOT</version>
+        				-->
+        				<configuration>
+        					<includes>
+        						<include>**/*Test.java</include>
+        						<!--        Fails in about half of the tests
+        							<include>tests/w3c/TestW3CSchemaBucket.java</include>
+        						-->
+        					</includes>
+        					<excludes>
+        						<exclude>
+        							tests/w3c/SchemaTest.java
+        						</exclude>
+        					</excludes>
+        					<systemProperties>
+        						<!--  The default xalan TransformerFactory on the ibm jdk is
+        							org.apache.xalan.processor.TransformerFactoryImpl which 
+        							has a known issue with implicit namespaces.  Set this 
+        							property to use the xsltc TransformerFactory (which 
+        							the sun jdk seems to default to).
+        						-->
+        						<!-- <property>
+        							<name>javax.xml.transform.TransformerFactory</name>
+        							<value>com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl</value>
+        							</property> -->
+        					</systemProperties>
+        				</configuration>
+        			</plugin>
+        		</plugins>
+        	</build>
+        </profile>
+        <profile>
+        	<id>IBMTest</id>
+        	<activation>
+        		<property>
+        			<name>isIBM</name>
+        			<value>true</value>
+        		</property>
+        	</activation>
+        	<build>
+        		<plugins>
+        			<plugin>
+        				<artifactId>maven-surefire-plugin</artifactId>
+        				<!--
+        					Required to run the TestW3CSchemaBucket test
+        					<version>2.3-SNAPSHOT</version>
+        				-->
+        				<configuration>
+        					<includes>
+        						<include>**/*Test.java</include>
+        						<!--        Fails in about half of the tests
+        							<include>tests/w3c/TestW3CSchemaBucket.java</include>
+        						-->
+        					</includes>
+        					<excludes>
+        						<exclude>
+        							tests/w3c/SchemaTest.java
+        						</exclude>
+        					</excludes>
+        					<systemProperties>
+        						<!--  The default xalan TransformerFactory on the ibm jdk is
+        							org.apache.xalan.processor.TransformerFactoryImpl which 
+        							has a known issue with implicit namespaces.  Set this 
+        							property to use the xsltc TransformerFactory (which 
+        							the sun jdk seems to default to).
+        						-->
+        						<property>
+        							<name>
+        								javax.xml.transform.TransformerFactory
+        							</name>
+        							<value>
+        								org.apache.xalan.xsltc.trax.TransformerFactoryImpl
+        							</value>
+        						</property>
+        					</systemProperties>
+        				</configuration>
+        			</plugin>
+        		</plugins>
+        	</build>
+        </profile>
     </profiles>
     <pluginRepositories>
         <pluginRepository>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org