You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2009/10/01 23:20:30 UTC

svn commit: r820798 - in /incubator/uima/sandbox/trunk/RegularExpressionAnnotator: build_xml_types.xml lib/ pom.xml

Author: schor
Date: Thu Oct  1 21:20:23 2009
New Revision: 820798

URL: http://svn.apache.org/viewvc?rev=820798&view=rev
Log:
UIMA-1595 remove lib and jars in it, and change to using xmlbean mvn plugin to build xml parser at build time.

Removed:
    incubator/uima/sandbox/trunk/RegularExpressionAnnotator/build_xml_types.xml
    incubator/uima/sandbox/trunk/RegularExpressionAnnotator/lib/
Modified:
    incubator/uima/sandbox/trunk/RegularExpressionAnnotator/pom.xml

Modified: incubator/uima/sandbox/trunk/RegularExpressionAnnotator/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/RegularExpressionAnnotator/pom.xml?rev=820798&r1=820797&r2=820798&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/RegularExpressionAnnotator/pom.xml (original)
+++ incubator/uima/sandbox/trunk/RegularExpressionAnnotator/pom.xml Thu Oct  1 21:20:23 2009
@@ -46,13 +46,13 @@
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-component-test-util</artifactId>
 		</dependency>
-		<dependency>
+		<!--dependency>
 			<groupId>local.xmlbeans.dependency</groupId>
 			<artifactId>generated-xmltypes</artifactId>
 			<version>1.0</version>
 			<scope>system</scope>
 			<systemPath>${basedir}/lib/regex_annot_xml_types.jar</systemPath>
-		</dependency>
+		</dependency-->
     
     <dependency>
       <groupId>org.apache.xmlbeans</groupId>
@@ -83,6 +83,22 @@
 		<finalName>uima-an-regex</finalName>
      
 		<plugins>
+      
+      <!-- generate XML parser from .xsd file -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>xmlbeans-maven-plugin</artifactId>
+        <version>2.3.3</version>
+        <executions>
+          <execution>
+            <goals><goal>xmlbeans</goal></goals>
+            <configuration>
+              <schemaDirectory>resources</schemaDirectory>
+            </configuration>        
+          </execution>
+        </executions>
+      </plugin>
+      
       <!-- build pear plugin, most settings inherited from parent POM -->      
       <plugin>
         <groupId>org.apache.uima</groupId>