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:03:04 UTC

svn commit: r943539 - /uima/sandbox/branches/mavenAlign/OpenCalaisAnnotator/pom.xml

Author: schor
Date: Wed May 12 15:03:04 2010
New Revision: 943539

URL: http://svn.apache.org/viewvc?rev=943539&view=rev
Log:
[UIMA-1756] package as PEAR, reformat POM to conventions

Modified:
    uima/sandbox/branches/mavenAlign/OpenCalaisAnnotator/pom.xml

Modified: uima/sandbox/branches/mavenAlign/OpenCalaisAnnotator/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/OpenCalaisAnnotator/pom.xml?rev=943539&r1=943538&r2=943539&view=diff
==============================================================================
--- uima/sandbox/branches/mavenAlign/OpenCalaisAnnotator/pom.xml (original)
+++ uima/sandbox/branches/mavenAlign/OpenCalaisAnnotator/pom.xml Wed May 12 15:03:04 2010
@@ -20,66 +20,69 @@
 	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>
-	<artifactId>OpenCalaisAnnotator</artifactId>
-	<packaging>jar</packaging>
-	<version>2.3.0-incubating</version> <!-- this comment is a flag for changeVersion -->
-	<name>Apache UIMA OpenCalais Annotator Wrapper</name>
   
   <parent>
     <groupId>org.apache.uima</groupId>
-    <artifactId>SandboxDistr-pearBuilder</artifactId>
-    <version>2.3.0-incubating</version> <!-- this comment is a flag for changeVersion -->
-    <relativePath>../SandboxDistr/pear-builder-pom</relativePath>
+    <artifactId>parent-pom-annotator</artifactId>
+    <version>1-SNAPSHOT</version>
+    <relativePath/>
   </parent>
+
+	<artifactId>OpenCalaisAnnotator</artifactId>	<packaging>jar</packaging>
+	<version>2.3.1-SNAPSHOT</version>
+	<name>UIMA Annotator: ${project.artifactId}</name>
+  <description>Sends text to a remote open calais annotators and adds the annotations returned to the CAS</description>
+  <url>http://incubator.apache.org/uima</url>
+
+  <!-- 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>
+    <pearMainDescriptor>desc/OpenCalaisAnnotator.xml</pearMainDescriptor>
+  </properties>
+         
 	<dependencies>
 		<dependency>
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-core</artifactId>
+      <version>2.3.1-SNAPSHOT</version>
+      <scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-test-util</artifactId>
+      <version>2.3.1-SNAPSHOT</version>
+      <scope>test</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-component-test-util</artifactId>
+      <version>2.3.1-SNAPSHOT</version>
+      <scope>test</scope>
 		</dependency>
 	</dependencies>
    
 	<build>
 		<finalName>uima-an-calais</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/OpenCalaisAnnotator.xml</mainComponentDesc> 
-          </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>
-              </excludes>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      
-    </plugins>   
 	</build>
   
 </project>