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/22 21:00:54 UTC
svn commit: r817771 -
/incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
Author: schor
Date: Tue Sep 22 19:00:54 2009
New Revision: 817771
URL: http://svn.apache.org/viewvc?rev=817771&view=rev
Log:
UIMA-1583 update pom to share more from parents
Modified:
incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
Modified: incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml?rev=817771&r1=817770&r2=817771&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml (original)
+++ incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Tue Sep 22 19:00:54 2009
@@ -29,9 +29,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>
@@ -52,16 +52,22 @@
<build>
<finalName>uima-an-wst</finalName>
- <resources>
+ <!-- add the contents of desc to the jar.
+ This puts the WhitespaceTokenizer.xml file into the Jar
+ and makes it easier for users to run this, without installing a pear.
+ The Tagger project uses this technique, for instance -->
+
+ <!--resources>
<resource>
- <!-- test case for Tagger expects to find the desc on the classpath -->
<directory>desc</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
- </resources>
+ </resources-->
+ <!-- add desc to resources
+ test case for Tagger expects to find the desc on the classpath -->
<testResources>
<testResource>
<directory>desc</directory>
@@ -72,7 +78,19 @@
</testResources>
<plugins>
- <plugin>
+ <!-- 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/WhitespaceTokenizer.xml</mainComponentDesc>
+ </configuration>
+ </execution></executions>
+ </plugin>
+
+ <!--plugin>
<groupId>org.apache.uima</groupId>
<artifactId>PearPackagingMavenPlugin</artifactId>
<extensions>true</extensions>
@@ -92,7 +110,7 @@
</goals>
</execution>
</executions>
- </plugin>
+ </plugin-->
</plugins>
</build>
</project>