| <!--
|
| Licensed to the Apache Software Foundation (ASF) under one
|
| or more contributor license agreements. See the NOTICE file
|
| distributed with this work for additional information
|
| regarding copyright ownership. The ASF licenses this file
|
| to you under the Apache License, Version 2.0 (the
|
| "License"); you may not use this file except in compliance
|
| with the License. You may obtain a copy of the License at
|
|
|
| http://www.apache.org/licenses/LICENSE-2.0
|
|
|
| Unless required by applicable law or agreed to in writing,
|
| software distributed under the License is distributed on an
|
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| KIND, either express or implied. See the License for the
|
| specific language governing permissions and limitations
|
| under the License.
|
| -->
|
|
|
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 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>uimaj</artifactId> |
| <packaging>pom</packaging> |
| <version>2.1.0-incubating</version> |
| <name>Apache UIMA Java SDK</name> |
| <url>http://incubator.apache.org/uima</url> |
| <licenses>
|
| <license>
|
| <name>The Apache Software License, Version 2.0</name>
|
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
| <distribution>repo</distribution>
|
| </license>
|
| </licenses>
|
| <organization>
|
| <name>The Apache Software Foundation</name>
|
| <url>http://www.apache.org/</url>
|
| </organization> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build>
|
| <pluginManagement>
|
| <plugins> |
| <!-- v2.1 of the javadoc plugin needed for muilti-module javadoc build to work properly -->
|
| <plugin>
|
| <artifactId>maven-javadoc-plugin</artifactId>
|
| <version>2.1</version>
|
| </plugin>
|
| </plugins>
|
| </pluginManagement>
|
| <plugins>
|
| <plugin>
|
| <groupId>org.apache.maven.plugins</groupId>
|
| <artifactId>maven-compiler-plugin</artifactId>
|
| <configuration>
|
| <source>1.4</source>
|
| <target>1.4</target>
|
| </configuration>
|
| </plugin>
|
| <!-- We use and ant task to copy the LICENSE, NOTICE, and DISCLAIMER files
|
| from a single location in uimaj-distr into the target/classes/META-INF
|
| directory of all components. In theory the Maven resources plugin is
|
| supposed to do this, but we have not been able to get it to work. -->
|
| <plugin>
|
| <artifactId>maven-antrun-plugin</artifactId>
|
| <executions>
|
| <execution>
|
| <phase>process-resources</phase>
|
| <configuration>
|
| <tasks>
|
| <copy todir="target/classes/META-INF">
|
| <fileset dir="../uimaj-distr/src/main/readme"
|
| includes="LICENSE NOTICE DISCLAIMER"/>
|
| </copy>
|
| </tasks>
|
| </configuration>
|
| <goals>
|
| <goal>run</goal>
|
| </goals>
|
| </execution>
|
| </executions>
|
| </plugin>
|
| </plugins>
|
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration>
|
| <aggregate>true</aggregate> |
| <source>1.4</source>
|
| <doctitle>Apache UIMA Java SDK ${pom.version} API Documentation</doctitle>
|
| <windowtitle>Apache UIMA Java SDK ${pom.version} API Documentation</windowtitle>
|
| <maxmemory>512M</maxmemory> |
| <links> |
| <link>http://java.sun.com/j2se/1.4.2/docs/api/</link> |
| </links> |
| <excludePackageNames>org.apache.uima.test.junit_extension</excludePackageNames> |
| <groups>
|
| <group> |
| <title>Core Framework</title> |
| <packages>org.apache.uima:org.apache.uima.impl:org.apache.uima.analysis_component:org.apache.uima.analysis_engine*:org.apache.uima.cas*:org.apache.uima.collection*:org.apache.uima.ecore:org.apache.uima.flow*:org.apache.uima.internal*:org.apache.uima.jcas*:org.apache.uima.pear.tools:org.apache.uima.pear.util:org.apache.uima.resource*:org.apache.uima.search*:org.apache.uima.tttypesystem:org.apache.uima.uimacpp:org.apache.uima.util*</packages> |
| </group> |
| <group> |
| <title>Collection Processing Engine</title> |
| <packages>org.apache.uima.collection.impl*:org.apache.uima.cas_data.impl.vinci</packages> |
| </group> |
| <group> |
| <title>SOAP Adapter</title> |
| <packages>org.apache.uima.adapter.soap*</packages> |
| </group> |
| <group> |
| <title>Vinci Adapter</title> |
| <packages>org.apache.uima.adapter.vinci*</packages> |
| </group> |
| <group> |
| <title>Tools</title> |
| <packages>org.apache.uima.tools*:org.apache.uima.klt</packages> |
| </group> |
| <group> |
| <title>Eclipse Plugins</title> |
| <packages>org.apache.uima.taeconfigurator*:org.apache.uima.typesystem*:org.apache.uima.ep_debug:org.apache.uima.jcas.jcasgenp:org.apache.uima.pear:org.apache.uima.pear.actions:org.apache.uima.pear.generate:org.apache.uima.pear.insd*:org.apache.uima.pear.nature</packages> |
| </group> |
| <group> |
| <title>Examples</title> |
| <packages>org.apache.uima.examples*:org.apache.uima.tutorial*:example*</packages> |
| </group> |
| <group> |
| <title>JVinci</title> |
| <packages>org.apache.vinci*</packages> |
| </group> |
| </groups> |
| </configuration> |
| </plugin> |
| <plugin>
|
| <groupId>org.apache.maven.plugins</groupId>
|
| <artifactId>maven-jar-plugin</artifactId>
|
| <configuration>
|
| <archive>
|
| <manifestEntries>
|
| <Project-Title>Apache UIMA</Project-Title>
|
| <Implementation-Title>${pom.name}</Implementation-Title>
|
| <Implementation-Version>${pom.version}</Implementation-Version>
|
| <Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
|
| <Implementation-Url>${pom.url}</Implementation-Url>
|
| <Implementation-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Implementation-License>
|
| <!-- Note: I found no way to access any kind of timestamp from within Maven. This
|
| property needs to passed on the command line. On Windows, you can do something
|
| like mvn -Duima.build.date="%date% %time%", in bash, -Duima.build.date="`date`".
|
| If the property is not specified, the manifest will not contain the build date.
|
| (tg) -->
|
| <Build-Date>${uima.build.date}</Build-Date>
|
| </manifestEntries>
|
| </archive>
|
| </configuration>
|
| </plugin>
|
| </plugins> |
| </reporting> |
| <modules> |
| <module>../uimaj-core</module> |
| <module>../uimaj-cpe</module> |
| <module>../uimaj-examples</module> |
| <module>../uimaj-tools</module> |
| <module>../uimaj-adapter-vinci</module> |
| <module>../uimaj-adapter-soap</module> |
| <module>../uimaj-test-util</module>
|
| <module>../uimaj-component-test-util</module>
|
| <module>../jVinci</module> |
| <module>../uimaj-ep-debug</module> |
| <module>../uimaj-ep-jcasgen</module> |
| <module>../uimaj-ep-configurator</module> |
| <module>../uimaj-ep-pear-packager</module> |
| <module>../uimaj-ep-runtime</module> |
| <module>../uimaj-document-annotation</module>
|
| </modules> |
| <repositories> |
| <repository> |
| <id>eclipsePlugins</id> |
| <url>http://repo1.maven.org/eclipse</url> |
| </repository> |
| </repositories> |
| </project> |