<?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. | |
--> | |
<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.3.1</version> | |
<relativePath>../uima-as-parent/pom.xml</relativePath> | |
</parent> | |
<groupId>org.apache.uima</groupId> | |
<artifactId>uimaj-as-core</artifactId> | |
<version>2.3.1</version> | |
<name>UIMA-AS: ${project.artifactId}</name> | |
<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:svn:http://svn.apache.org/repos/asf/uima/uima-as/tags/uima-as-2.3.1-rc5/uimaj-as-core | |
</connection> | |
<developerConnection> | |
scm:svn:https://svn.apache.org/repos/asf/uima/uima-as/tags/uima-as-2.3.1-rc5/uimaj-as-core | |
</developerConnection> | |
<url> | |
http://svn.apache.org/viewvc/uima/uima-as/tags/uima-as-2.3.1-rc5/uimaj-as-core | |
</url> | |
</scm> | |
<properties> | |
<uimaScmProject>${project.artifactId}</uimaScmProject> | |
<postNoticeText>${ibmNoticeText}</postNoticeText> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>commons-pool</groupId> | |
<artifactId>commons-pool</artifactId> | |
<version>1.5.4</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.uima</groupId> | |
<artifactId>uimaj-core</artifactId> | |
<version>${uimajDependencyVersion}</version> | |
<scope>compile</scope> | |
</dependency> | |
<!-- | |
Spring Framework Dependencies | |
--> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-core</artifactId> | |
<version>3.0.3.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-beans</artifactId> | |
<version>3.0.3.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-context</artifactId> | |
<version>3.0.3.RELEASE</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>${project.artifactId}</finalName> | |
<plugins> | |
<!-- filter the template for the version java code | |
to insert the version from properties --> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>setVersions</id> | |
<goals><goal>copy-resources</goal></goals> | |
<phase>generate-sources</phase> | |
<configuration> | |
<outputDirectory>${project.build.directory}/generated-sources/releaseVersion</outputDirectory> | |
<resources> | |
<resource> | |
<filtering>true</filtering> | |
<directory>src/main/versionJava</directory> | |
</resource> | |
</resources> | |
<delimiters> | |
<delimiter>${*}</delimiter> | |
</delimiters> | |
<useDefaultDelimiters>false</useDefaultDelimiters> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- add the generated sources to the compile sources --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>1.5</version> | |
<executions> | |
<execution> | |
<id>addVersionSrc</id> | |
<goals><goal>add-source</goal></goals> | |
<configuration> | |
<sources> | |
<source>${project.build.directory}/generated-sources/releaseVersion</source> | |
</sources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |