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 2010/05/12 17:08:32 UTC

svn commit: r943542 - in /uima/sandbox/branches/mavenAlign/SimpleServer: ./ docbook/ docs/ src/docbook/ src/docbook/images/ src/docbook/images/simpleServerUserGuide/ src/docbook/simpleServerUserGuide/

Author: schor
Date: Wed May 12 15:08:31 2010
New Revision: 943542

URL: http://svn.apache.org/viewvc?rev=943542&view=rev
Log:
[UIMA-1756] package as Single Project,remove disclaimer, reformat POM to conventions, fixup docbook, remove docs/

Added:
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/
      - copied from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/
      - copied from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/new-web-project1.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/new-web-project1.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/new-web-project2.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/new-web-project2.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/sample-app-form-bottom.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/sample-app-form-bottom.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/sample-app-form-result.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/sample-app-form-result.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/sample-app-form-top.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/sample-app-form-top.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/sample-app-info-page.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/sample-app-info-page.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/sample-project-info-page.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/sample-project-info-page.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/simpleServerUserGuide/sample-project-layout.jpg
      - copied unchanged from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/images/sample-project-layout.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/simpleServerUserGuide.xml
      - copied, changed from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/simpleServerUserGuide.xml
Removed:
    uima/sandbox/branches/mavenAlign/SimpleServer/DISCLAIMER
    uima/sandbox/branches/mavenAlign/SimpleServer/build_documentation.xml
    uima/sandbox/branches/mavenAlign/SimpleServer/docbook/
    uima/sandbox/branches/mavenAlign/SimpleServer/docs/
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/new-web-project1.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/new-web-project2.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/sample-app-form-bottom.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/sample-app-form-result.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/sample-app-form-top.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/sample-app-info-page.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/sample-project-info-page.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/images/sample-project-layout.jpg
    uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/simpleServerUserGuide/
Modified:
    uima/sandbox/branches/mavenAlign/SimpleServer/pom.xml

Modified: uima/sandbox/branches/mavenAlign/SimpleServer/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/SimpleServer/pom.xml?rev=943542&r1=943541&r2=943542&view=diff
==============================================================================
--- uima/sandbox/branches/mavenAlign/SimpleServer/pom.xml (original)
+++ uima/sandbox/branches/mavenAlign/SimpleServer/pom.xml Wed May 12 15:08:31 2010
@@ -21,32 +21,64 @@
 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<modelVersion>4.0.0</modelVersion>
-	<groupId>org.apache.uima</groupId>
+  
+  <parent>
+    <groupId>org.apache.uima</groupId>
+    <artifactId>parent-pom-single-project</artifactId>
+    <version>1-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
+
 	<artifactId>SimpleServer</artifactId>
-	<packaging>jar</packaging>
-	<version>2.3.0-incubating</version> <!-- this comment is a flag for changeVersion -->
-	<name>Apache UIMA Simple Server</name>
+	<version>2.3.1-SNAPSHOT</version>
+	<name>UIMA Addon: ${project.artifactId}</name>
+  <description>A Java Servlet that runs a UIMA pipeline and makes the results available via a REST interface</description>
+  <url>http://incubator.apache.org/uima</url>
 
-  <parent>
-		<groupId>org.apache.uima</groupId>
-		<artifactId>SandboxDistr</artifactId>
-		<version>2.3.0-incubating</version> <!-- this comment is a flag for changeVersion -->
-		<relativePath>../SandboxDistr</relativePath>
-	</parent>
-	
-	<dependencies>
-		<!-- versions from parent -->
-		<dependency>
+  <!-- Special inheritance note
+       even though the <scm> element that follows is exactly the 
+       same as those in super poms, it cannot be inherited because 
+       there is some special code that computes the connection elements
+       from the chain of parent poms, if this is omitted. 
+       
+       Keeping this a bit factored allows cutting/pasting the <scm>
+       element, and just changing the following two properties -->  
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </url>
+  </scm>
+  
+  <properties>
+    <uimaScmRoot>sandbox</uimaScmRoot>
+    <uimaScmProject>${project.artifactId}</uimaScmProject>
+    <uimaDependencyVersion>2.3.1-SNAPSHOT</uimaDependencyVersion>
+    <bookNameRoot>simpleServerUserGuide</bookNameRoot>
+  </properties>
+
+  <dependencies>        
+ 	  <dependency>
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-core</artifactId>
+      <version>${uimaDependencyVersion}</version>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-test-util</artifactId>
+      <version>${uimaDependencyVersion}</version>
+      <scope>test</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-component-test-util</artifactId>
+      <version>${uimaDependencyVersion}</version>
+      <scope>test</scope>
 		</dependency>
 
     <dependency>
@@ -93,9 +125,8 @@
 			<version>4.0-alpha2</version>
       <scope>provided</scope>
 		</dependency>
-    
-    
 	</dependencies>
+  
 	<build>
 		<finalName>uima-simple-server</finalName>
 		<plugins>
@@ -124,15 +155,13 @@
             <id>default-cli</id>
             <configuration>
               <excludes>
-                <exclude>docs/html/images/*.svg</exclude> <!-- generated image files for docbook -->
                 <exclude>src/test/resources/expected/*.xml</exclude> <!-- test data -->
                 <exclude>src/test/resources/test.txt</exclude> <!-- test data -->
               </excludes>
             </configuration>
           </execution>
         </executions>
-      </plugin>
-      
+      </plugin>      
 		</plugins>
 	</build>
 </project>
\ No newline at end of file

Copied: uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/simpleServerUserGuide.xml (from r941967, uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/simpleServerUserGuide.xml)
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/simpleServerUserGuide.xml?p2=uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/simpleServerUserGuide.xml&p1=uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/simpleServerUserGuide.xml&r1=941967&r2=943542&rev=943542&view=diff
==============================================================================
--- uima/sandbox/branches/mavenAlign/SimpleServer/docbook/simpleServerUserGuide/simpleServerUserGuide.xml (original)
+++ uima/sandbox/branches/mavenAlign/SimpleServer/src/docbook/simpleServerUserGuide.xml Wed May 12 15:08:31 2010
@@ -1,9 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY imgroot "../images/simpleServerUserGuide/" >
-<!ENTITY % xinclude SYSTEM "../../../uima-docbook-tool/xinclude.mod">
-  %xinclude;
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!ENTITY imgroot "images/simpleServerUserGuide/" >
 ]>
 <!--
 Licensed to the Apache Software Foundation (ASF) under one
@@ -30,7 +28,7 @@ under the License.
 	</title>
 
 	<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-		href="../../../SandboxDocs/src/docbook/book_info.xml" />
+		href="../../target/docbook-shared/common_book_info.xml" />
 
 <chapter id="sandbox.simpleServer">
   <title>Introduction</title>