Author: davidillsley
Date: Wed Oct 24 12:16:11 2007
New Revision: 587972

URL: http://svn.apache.org/viewvc?rev=587972&view=rev
Log:
Previous commit broke the XmlSchema build on Sun derived 1.5 vms (Solaris and 
OS X at least) as the xalan classes have been repackaged. This change reverts 
the default behaviour. To run the build pointing to the classes packaged in an 
IBM JVM, run the build with a -DisIBM=true For info about the sun renaming see 
http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.html#packageNames

I'll confirm this works on an IBM vm momentarity

Modified:
    webservices/commons/trunk/modules/XmlSchema/pom.xml

Modified: webservices/commons/trunk/modules/XmlSchema/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/pom.xml?rev=587972&r1=587971&r2=587972&view=diff
==============================================================================
--- webservices/commons/trunk/modules/XmlSchema/pom.xml (original)
+++ webservices/commons/trunk/modules/XmlSchema/pom.xml Wed Oct 24 12:16:11 2007
@@ -199,7 +199,8 @@
     <organization>
         <name>Apache Software Foundation</name>
         <url>http://www.apache.org/</url>
-    </organization>
+    </organization>
+
     <build>
         <plugins>
             <plugin>
@@ -270,36 +271,6 @@
                 </configuration>
             </plugin>
             <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>
-            <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <configuration>
                     <descriptors>
@@ -352,6 +323,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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to