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 16:55:02 UTC
svn commit: r943532 - in
/uima/sandbox/branches/mavenAlign/DictionaryAnnotator: DISCLAIMER docbook/
docs/ pom.xml src/docbook/ src/docbook/DictionaryAnnotatorUserGuide.xml
src/docbook/DictionaryAnnotatorUserGuide/ src/docbook/images/
Author: schor
Date: Wed May 12 14:55:02 2010
New Revision: 943532
URL: http://svn.apache.org/viewvc?rev=943532&view=rev
Log:
[UIMA-1756] package as PEAR,remove disclaimer, reformat POM to conventions, fixup docbook, remove docs/
Added:
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/
- copied from r941967, uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docbook/
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/DictionaryAnnotatorUserGuide.xml
- copied, changed from r941967, uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docbook/DictionaryAnnotatorUserGuide/DictionaryAnnotatorUserGuide.xml
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/images/
- copied from r941967, uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docbook/DictionaryAnnotatorUserGuide/images/
Removed:
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/DISCLAIMER
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docbook/
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docs/
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/DictionaryAnnotatorUserGuide/
Modified:
uima/sandbox/branches/mavenAlign/DictionaryAnnotator/pom.xml
Modified: uima/sandbox/branches/mavenAlign/DictionaryAnnotator/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/DictionaryAnnotator/pom.xml?rev=943532&r1=943531&r2=943532&view=diff
==============================================================================
--- uima/sandbox/branches/mavenAlign/DictionaryAnnotator/pom.xml (original)
+++ uima/sandbox/branches/mavenAlign/DictionaryAnnotator/pom.xml Wed May 12 14:55:02 2010
@@ -20,31 +20,66 @@
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>DictionaryAnnotator</artifactId>
- <packaging>jar</packaging>
- <version>2.3.0-incubating</version> <!-- this comment is a flag for changeVersion -->
- <name>Apache UIMA Java Annotator - DictionaryAnnotator</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>DictionaryAnnotator</artifactId>
+ <version>2.3.1-SNAPSHOT</version>
+ <name>UIMA Annotator: ${project.artifactId}</name>
+ <description>Annotator that annotates tokens by looking them up in a dictionary</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/DictionaryAnnotator.xml</pearMainDescriptor>
+ <bookNameRoot>DictionaryAnnotatorUserGuide</bookNameRoot>
+ </properties>
<dependencies>
<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>
<dependency>
@@ -70,17 +105,6 @@
<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>
@@ -106,7 +130,6 @@
<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 -->
Copied: uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/DictionaryAnnotatorUserGuide.xml (from r941967, uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docbook/DictionaryAnnotatorUserGuide/DictionaryAnnotatorUserGuide.xml)
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/DictionaryAnnotatorUserGuide.xml?p2=uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/DictionaryAnnotatorUserGuide.xml&p1=uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docbook/DictionaryAnnotatorUserGuide/DictionaryAnnotatorUserGuide.xml&r1=941967&r2=943532&rev=943532&view=diff
==============================================================================
--- uima/sandbox/branches/mavenAlign/DictionaryAnnotator/docbook/DictionaryAnnotatorUserGuide/DictionaryAnnotatorUserGuide.xml (original)
+++ uima/sandbox/branches/mavenAlign/DictionaryAnnotator/src/docbook/DictionaryAnnotatorUserGuide.xml Wed May 12 14:55:02 2010
@@ -1,10 +1,6 @@
<?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/" >
-<!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">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -31,7 +27,7 @@
</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" />
<preface>
<title>Introduction</title>