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/09/24 12:55:02 UTC

svn commit: r818440 [2/2] - in /incubator/uima/sandbox/trunk/DictionaryAnnotator: ./ docs/ docs/html/ docs/html/DictionaryAnnotatorUserGuide/ docs/html/DictionaryAnnotatorUserGuide/css/ docs/html/images/ docs/html/images/DictionaryAnnotatorUserGuide/ d...

Added: incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/html/images/warning.svg
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/html/images/warning.svg?rev=818440&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/html/images/warning.svg (added)
+++ incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/html/images/warning.svg Thu Sep 24 10:55:00 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:#000000;stroke:#FFFFFF;stroke-width:7.9139;stroke-linejoin:round;">
+	<!ENTITY st1 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st2 "fill:none;stroke:none;">
+	<!ENTITY st3 "fill:#000000;">
+	<!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;">
+	<!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_4" style="&st1;">
+		<g style="&st4;">
+			<path style="&st0;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/>
+			<path style="&st3;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/>
+			<path d="M11.7,17.7l18.7,18.7l5.9-5.9L17.6,11.7l-5.9,5.9z"/>
+			<path d="M11.7,30.5l5.9,5.9l18.7-18.7l-5.9-5.9L11.7,30.5z"/>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st5;">
+		<path style="&st2;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/html/images/warning.tif
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/html/images/warning.tif?rev=818440&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/html/images/warning.tif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/pdf/DictionaryAnnotatorUserGuide.pdf
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/pdf/DictionaryAnnotatorUserGuide.pdf?rev=818440&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/uima/sandbox/trunk/DictionaryAnnotator/docs/pdf/DictionaryAnnotatorUserGuide.pdf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml?rev=818440&r1=818439&r2=818440&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml (original)
+++ incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml Thu Sep 24 10:55:00 2009
@@ -28,9 +28,9 @@
   
   <parent>
     <groupId>org.apache.uima</groupId>
-    <artifactId>SandboxDistr</artifactId>
+    <artifactId>SandboxDistr-pearBuilder</artifactId>
     <version>2.3.0-incubating-SNAPSHOT</version> <!-- this comment is a flag for changeVersion -->
-    <relativePath>../SandboxDistr</relativePath>
+    <relativePath>../SandboxDistr/pear-builder-pom</relativePath>
   </parent>
 
 	<dependencies>
@@ -47,52 +47,77 @@
 			<artifactId>uimaj-component-test-util</artifactId>
 		</dependency>
     
-		<dependency>
-			<groupId>local.xmlbeans.dependency</groupId>
-			<artifactId>generated-xmltypes</artifactId>
-			<version>1.0</version>
-			<scope>system</scope>
-			<systemPath>${basedir}/lib/dict_annot_xml_types.jar</systemPath>
-		</dependency>
-		<dependency>
-			<groupId>local.xmlbeans.dependency</groupId>
-			<artifactId>xsdbeans</artifactId>
-			<version>2.2</version>
-			<scope>system</scope>
-			<systemPath>${basedir}/lib/xbean.jar</systemPath>
-		</dependency>
-		<dependency>
-			<groupId>local.xmlbeans.dependency</groupId>
-			<artifactId>jsr173-api</artifactId>
-			<version>2.2</version>
-			<scope>system</scope>
-			<systemPath>${basedir}/lib/jsr173_1.0_api.jar</systemPath>
-		</dependency>	
+    <dependency>
+      <groupId>org.apache.xmlbeans</groupId>
+      <artifactId>xmlbeans</artifactId>
+      <version>2.4.0</version>
+      <exclusions>
+        <exclusion> <!-- licensing issues, use geronimo instead -->
+          <groupId>stax</groupId>
+          <artifactId>stax-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+      <version>1.0.1</version>
+    </dependency>
+    	
 	</dependencies>
   
-	<build>
+  <build>
 		<finalName>uima-an-dictionary</finalName>
+
+    <plugins>
+      <!-- build pear plugin, most settings inherited from parent POM -->      
+      <plugin>
+        <groupId>org.apache.uima</groupId>
+        <artifactId>PearPackagingMavenPlugin</artifactId>
+        <executions><execution>
+          <id>buildPear</id>
+          <configuration>
+            <mainComponentDesc>desc/DictionaryAnnotator.xml</mainComponentDesc> 
+          </configuration>
+        </execution></executions>
+      </plugin> 
+       
+      <!-- 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>
+      
+      <!-- Release Audit Tool checks -->
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>default-cli</id>
+            <configuration>
+              <excludes>
+                <exclude>docs/html/images/*.svg</exclude> <!-- generated image files for docbook -->
+                <exclude>src/test/resources/*/*Ref.txt</exclude> <!-- test data -->
+                <exclude>src/test/resources/DictionaryCreatorTest/dictInput.txt</exclude> <!-- test data -->
+                <exclude>src/test/resources/DictionaryCreatorTest/*.pear</exclude> <!-- archive file -->
+                <exclude>src/test/resources/DictionaryCreatorTest/*Ref.xml</exclude> <!-- test data -->
+              </excludes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+        
+    </plugins>          
        
-		<plugins>					
- 			<plugin>
-				<groupId>org.apache.uima</groupId>
-	  		<artifactId>PearPackagingMavenPlugin</artifactId>
-				<extensions>true</extensions>
-				<executions>
-					<execution>
-						<phase>package</phase>
-						<configuration>
-						  <classpath>$main_root/lib/jsr173_1.0_api.jar;$main_root/lib/dict_annot_xml_types.jar;$main_root/lib/xbean.jar</classpath>
-						  <mainComponentDesc>desc/DictionaryAnnotator.xml</mainComponentDesc>
-						  <componentId>DictionaryAnnotator</componentId>
-						  <datapath>$main_root/resources</datapath>
-						</configuration>
-						<goals>
-							<goal>package</goal>
-						</goals>
-					</execution>	
-				</executions>
-			</plugin>
-		</plugins>
 	</build> 
 </project>