db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r528999 - in /db/jdo/trunk/api20: maven.xml project.properties project.xml
Date Sun, 15 Apr 2007 16:10:36 GMT
Author: mbo
Date: Sun Apr 15 09:10:36 2007
New Revision: 528999

URL: http://svn.apache.org/viewvc?view=rev&rev=528999
Log:
JDO-477: Removing the api20 dependency to an explicit xerces version. 
This fixes the LinkageError when running JDOHelperConfigTest 
(LinkageError are thrown attempting to load org.w3c.dom.Node.class).

Modified:
    db/jdo/trunk/api20/maven.xml
    db/jdo/trunk/api20/project.properties
    db/jdo/trunk/api20/project.xml

Modified: db/jdo/trunk/api20/maven.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/maven.xml?view=diff&rev=528999&r1=528998&r2=528999
==============================================================================
--- db/jdo/trunk/api20/maven.xml (original)
+++ db/jdo/trunk/api20/maven.xml Sun Apr 15 09:10:36 2007
@@ -46,27 +46,4 @@
         </delete>
     </goal>
 
-    <!-- ======== -->
-    <!-- XML test -->
-    <!-- ======== -->
-
-    <!-- Run XML parser on JDO metadata files (suffix .jdo, .orm or .jdoquery).      
      -->
-    <!-- The tool uses the following system properties:                              
      -->
-    <!--   javax.jdo.metadata: a comma separated list of JDO metadata files or directories.
-->
-    <!--   javax.jdo.recursive: recursively serach directories.                      
      -->
-    <goal name="xmltest" prereqs="test:compile">
-        <java classname="javax.jdo.util.XMLTestUtil" fork="true">
-            <classpath> 
-                <pathelement location="${xmlapis.jarfile}"/>
-                <pathelement location="${xerces.jarfile}"/>
-                <pathelement location="${maven.build.dir}/classes"/>
-                <pathelement location="${maven.build.dir}/test-classes"/>
-            </classpath> 
-            <sysproperty key="javax.jdo.metadata" value="${javax.jdo.metadata}"/>
-            <sysproperty key="javax.jdo.recursive" value="${javax.jdo.recursive}"/>
-            <sysproperty key="javax.xml.parsers.DocumentBuilderFactory" 
-                         value="${javax.xml.parsers.DocumentBuilderFactory}"/>
-        </java>
-    </goal>
-
 </project>

Modified: db/jdo/trunk/api20/project.properties
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/project.properties?view=diff&rev=528999&r1=528998&r2=528999
==============================================================================
--- db/jdo/trunk/api20/project.properties (original)
+++ db/jdo/trunk/api20/project.properties Sun Apr 15 09:10:36 2007
@@ -14,11 +14,8 @@
 # See the License for the specific language governing permissions and 
 # limitations under the License.
 
-maven.junit.sysproperties = javax.xml.parsers.DocumentBuilderFactory basedir
-javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
+maven.junit.sysproperties = basedir
 
-xmlapis.jarfile = ${pom.getDependencyPath('xml-apis:xml-apis')}
-xerces.jarfile = ${pom.getDependencyPath('xerces:xerces')}
 junit.jarfile = ${pom.getDependencyPath('junit:junit')}
 
 # Manifest seed file

Modified: db/jdo/trunk/api20/project.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/project.xml?view=diff&rev=528999&r1=528998&r2=528999
==============================================================================
--- db/jdo/trunk/api20/project.xml (original)
+++ db/jdo/trunk/api20/project.xml Sun Apr 15 09:10:36 2007
@@ -41,16 +41,6 @@
             <version>1.1</version>
         </dependency>
         <dependency>
-            <groupId>xerces</groupId>
-            <artifactId>xercesImpl</artifactId>
-            <version>2.8.1</version>
-        </dependency>
-        <dependency>
-            <groupId>xml-apis</groupId>
-            <artifactId>xml-apis</artifactId>
-            <version>1.3.03</version>
-        </dependency>
-        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <version>3.8.1</version>



Mime
View raw message