blob: 97d561e9d8700ee34d18494af41655233de7c8e3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<!-- This pom serves as the release top level project
for the multi-module project UIMA-AS
-->
<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>
<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uima-as-parent</artifactId>
<version>2.10.4-SNAPSHOT</version>
<relativePath>uima-as-parent/pom.xml</relativePath>
</parent>
<artifactId>uima-as</artifactId>
<packaging>pom</packaging>
<name>Apache UIMA-AS: ${project.artifactId}</name>
<description>The top project for UIMA-AS</description>
<url>${uimaWebsiteUrl}</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:git:https://github.com/apache/uima-async-scaleout
</connection>
<developerConnection>
scm:git:https://github.com/apache/uima-async-scaleout
</developerConnection>
<url>
https://github.com/apache/uima-async-scaleout
</url>
</scm>
<properties>
<jiraVersion>12342746</jiraVersion> <!-- for 2.10.2AS -->
<uimaScmProject>${project.artifactId}</uimaScmProject>
<assemblyFinalName>uima-as-${project.version}</assemblyFinalName>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
<!-- override pom setting in the build project. JIRA 5.1 needs different URL -->
<issueManagement>
<system>Jira</system>
<url>https://issues.apache.org/jira/browse/UIMA</url>
</issueManagement>
<!-- dependencies used during assembly -->
<dependencies>
<!-- uima-as -->
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-as-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-as-activemq</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-as-jms</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-as-camel</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-ep-deployeditor</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-ep-runtime-deployeditor</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-as-osgi-runtime</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-test-util</artifactId>
<version>${uimajDependencyVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<!--
Active MQ Stuff
-->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jaas</artifactId>
</dependency>
<!-- dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-web</artifactId>
<exclusions>
<exclusion>
<artifactId>fusemq-leveldb</artifactId>
<groupId>org.fusesource.fuse-extra</groupId>
</exclusion>
<exclusion>
<artifactId>mqtt-client</artifactId>
<groupId>org.fusesource.mqtt-client</groupId>
</exclusion>
</exclusions>
</dependency-->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-spring</artifactId>
</dependency>
<!--dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-optional</artifactId>
<exclusions>
<exclusion>
<groupId>axis</groupId>
<artifactId>axis</artifactId>
</exclusion>
</exclusions>
</dependency-->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-kahadb-store</artifactId>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_3.0_spec</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>
<build>
<resources />
<plugins>
<!-- Override default assemble plug-in to use newer version of assembly plugin
Version 2.4 fixes a bug http://jira.codehaus.org/browse/PLXCOMP-176
-->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>default-cli</id>
<configuration>
<descriptors>
<descriptor>do-not-use--mvn-assembly-assembly--instead-use-mvn-install</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>uima-distr</id>
<phase>integration-test</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
</descriptors>
<finalName>uima-as-${project.version}</finalName>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</execution>
</executions>
</plugin>
<!-- UIMA-AS includes the base UIMA binary distribution
We get an unzipped version of that and unpack it into
target/uimaj -->
<!-- must come before the unpack -->
<plugin>
<groupId>org.apache.uima</groupId>
<artifactId>uima-build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<goals><goal>copy-from-apache-dist</goal></goals>
<configuration>
<version>${uimajDependencyVersion}</version>
<artifactId>uimaj</artifactId>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<!-- use the dependency:unpack goal to unpack the
base binary uimaj sdk distribution -->
<id>unpack Uimaj Bin</id>
<phase>prepare-package</phase>
<goals><goal>unpack</goal></goals>
<configuration>
<overWriteIfNewer>true</overWriteIfNewer>
<artifactItems>
<artifactItem>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj</artifactId>
<version>${uimajDependencyVersion}</version>
<type>zip</type>
<classifier>bin</classifier>
<outputDirectory>${project.build.directory}/uimaj</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<!-- use the dependency:unpack goal to unpack the AMQ binary release -->
<id>unpack-activemq-distro-win</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<overWriteIfNewer>true</overWriteIfNewer>
<artifactItems>
<artifactItem>
<groupId>org.apache.activemq</groupId>
<artifactId>apache-activemq</artifactId>
<version>${org.apache.activemq.version}</version>
<type>zip</type>
<classifier>bin</classifier>
<outputDirectory>${project.build.directory}/apache-activemq-win</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<!-- use the dependency:unpack goal to unpack the AMQ binary release -->
<id>unpack-activemq-distro-linux</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<overWriteIfNewer>true</overWriteIfNewer>
<artifactItems>
<artifactItem>
<groupId>org.apache.activemq</groupId>
<artifactId>apache-activemq</artifactId>
<version>${org.apache.activemq.version}</version>
<type>tar.gz</type>
<classifier>bin</classifier>
<outputDirectory>${project.build.directory}/apache-activemq-linux</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- This java doc config is for building the ones distributed with the bin packaging, and also
posted on our website.
-->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<!-- >version>2.9.1</version-->
<executions>
<execution>
<id>attach-javadocs</id>
<phase>prepare-package</phase> <!-- must be before assembly -->
<!--phase>deploy</phase--> <!-- comment above and uncomment to disable javadocs, for testing/experimentation, with assembly:assembly-->
<goals>
<goal>javadoc</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<quiet>true</quiet>
<failOnError>false</failOnError>
<source>8</source>
<groups>
<group>
<title>Packages</title>
<packages>*</packages>
</group>
</groups>
<!--verbose>true</verbose-->
<sourcepath>
uimaj-as-core/src/main/java:uimaj-as-activemq/src/main/java:uimaj-as-camel/src/main/java:uima-as-jms/src/main/java
</sourcepath>
<subpackages>org.apache.uima</subpackages>
<excludePackageNames>*.aae.*:org.apache.uima.resourceSpecifier.*</excludePackageNames>
<!-- add a few classes in impl packages that are directly used by user code -->
<additionalparam>
${javadoc.opts}
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/jmx/monitor/BasicUimaJmxMonitorListener.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/jmx/monitor/JmxMonitorListener.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/jmx/monitor/ServiceMetrics.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/jmx/monitor/SingleLineUimaJmxMonitorListener.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/monitor/statistics/AnalysisEnginePerformanceMetrics.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsynchronousEngine.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsBaseCallbackListener.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaASStatusCallbackListener.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaASProcessStatus.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/error/ErrorResult.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/error/ErrorResultComponentPath.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/aae/error/ErrorResultTDs.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/resourceSpecifier/factory/DeploymentDescriptorFactory.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/resourceSpecifier/factory/UimaASPrimitiveDeploymentDescriptor.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/resourceSpecifier/factory/UimaASAggregateDeploymentDescriptor.java
${basedir}/uimaj-as-core/src/main/java/org/apache/uima/resourceSpecifier/factory/ServiceContext.java
</additionalparam>
<!-- Link these to the uimaj javadocs on apache.org -->
<links>
<link>http://uima.apache.org/d/uimaj-${uimajDependencyVersion}/apidocs</link>
</links>
<doctitle>Apache UIMA Async Scaleout Java SDK ${project.version} User-Level API Documentation</doctitle>
<windowtitle>Apache UIMA-AS Java SDK ${project.version} User-Level API Documentation</windowtitle>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<overwrite>true</overwrite>
<outputDirectory>target/maven-shared-archive-resources/META-INF</outputDirectory>
<resources>
<resource>
<directory>.</directory>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.12.1</version>
<executions>
<execution>
<id>default-cli</id>
<goals><goal>jira-report</goal></goals>
<phase>generate-resources</phase>
<configuration>
<useJql>true</useJql>
<fixVersionIds>${jiraVersion}</fixVersionIds>
<component>Async Scaleout</component>
<columnNames>Type,Key,Status,Summary</columnNames>
<resolution>Fixed</resolution>
<status>Closed,Resolved</status>
<sortColumnNames>Type, Status, Key DESC</sortColumnNames>
<outputDirectory>${basedir}/issuesFixed/</outputDirectory>
<maxEntries>1000</maxEntries>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- run Release Audit Tool (RAT) on src and bin distrs -->
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<id>default-cli</id>
<goals><goal>check</goal></goals>
<phase>verify</phase>
<configuration>
<excludes combine.children="append">
<exclude>src/test/resources/deploy/expected/*.*</exclude> <!-- test data -->
<exclude>src/test/resources/deploy/expected/envVar/*.*</exclude> <!-- test data -->
<exclude>src/main/examples/run_configuration/*.launch</exclude> <!-- eclipse launch configurations -->
<exclude>LicNoticeAnalysisActiveMQ.txt</exclude>
<!-- workaround https://issues.apache.org/jira/browse/RAT-97 -->
<exclude>aggregate-uima-as/**</exclude>
<exclude>aggregate-uima-as-eclipse-plugins/**</exclude>
<exclude>uima-as-docbooks/**</exclude>
<exclude>uima-as-eclipse-update-site/**</exclude>
<exclude>uima-as-parent/**</exclude>
<exclude>uimaj-as-activemq/**</exclude>
<exclude>uimaj-as-camel/**</exclude>
<exclude>uimaj-as-core/**</exclude>
<exclude>uimaj-as-jms/**</exclude>
<exclude>uimaj-as-osgi-runtime/**</exclude>
<exclude>uimaj-eclipse-feature-deployeditor/**</exclude>
<exclude>uimaj-ep-deployeditor/**</exclude>
<exclude>uimaj-ep-runtime-deployeditor/**</exclude>
<exclude>uima-as-docbooks/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<!-- /pluginManagement-->
</build>
<profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile>
<id>doclint-clear-for-jdk7</id>
<activation>
<jdk>1.7</jdk>
</activation>
<properties>
<javadoc.opts />
</properties>
</profile>
<profile>
<id>apache-release</id>
<build>
<plugins>
<!-- Run jira report -->
<!-- depends on having -DjiraVersion set -->
<plugin>
<artifactId>maven-changes-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>default-cli</id>
<configuration>
<fixVersionIds>${jiraVersion}</fixVersionIds>
<sortColumnNames>Type, Key, Status</sortColumnNames>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>uima-as-parent</module>
<module>aggregate-uima-as</module>
</modules>
</project>