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:09:59 UTC

svn commit: r943547 - in /uima/sandbox/branches/mavenAlign/SnowballAnnotator: DISCLAIMER pom.xml

Author: schor
Date: Wed May 12 15:09:59 2010
New Revision: 943547

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

Removed:
    uima/sandbox/branches/mavenAlign/SnowballAnnotator/DISCLAIMER
Modified:
    uima/sandbox/branches/mavenAlign/SnowballAnnotator/pom.xml

Modified: uima/sandbox/branches/mavenAlign/SnowballAnnotator/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/SnowballAnnotator/pom.xml?rev=943547&r1=943546&r2=943547&view=diff
==============================================================================
--- uima/sandbox/branches/mavenAlign/SnowballAnnotator/pom.xml (original)
+++ uima/sandbox/branches/mavenAlign/SnowballAnnotator/pom.xml Wed May 12 15:09:59 2010
@@ -22,33 +22,64 @@
 	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>SnowballAnnotator</artifactId>
-	<packaging>jar</packaging>
-	<version>2.3.0-incubating</version> <!-- this comment is a flag for changeVersion -->
-	<name>Apache UIMA Java Annotator - Snowball Annotator</name>
-	<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>../uimaj</relativePath>
+    <artifactId>parent-pom-annotator</artifactId>
+    <version>1-SNAPSHOT</version>
+    <relativePath/>
   </parent>
   
+	<artifactId>SnowballAnnotator</artifactId>
+	<version>2.3.1-SNAPSHOT</version>
+  <name>UIMA Annotator: ${project.artifactId}</name>
+  <description>Annotator that annotates tokens using Snowball</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>
+    <uimaDependencyVersion>2.3.1-SNAPSHOT</uimaDependencyVersion>
+    <pearMainDescriptor>desc/SnowballAnnotator.xml</pearMainDescriptor>
+  </properties>
+  
 	<dependencies>
-    <!-- versions from parent -->
 		<dependency>
 			<groupId>org.apache.uima</groupId>
 			<artifactId>uimaj-core</artifactId>
+      <version>${uimaDependencyVersion}</version>
+      <scope>provided</scope>
 		</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>
 	</dependencies>