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/11/29 21:06:57 UTC
svn commit: r1040259 - in /uima/uima-as/trunk/uima-as-parent: ./ pom.xml
Author: schor
Date: Mon Nov 29 20:06:57 2010
New Revision: 1040259
URL: http://svn.apache.org/viewvc?rev=1040259&view=rev
Log:
[UIMA-1944] add common parent pom for uima-as
Added:
uima/uima-as/trunk/uima-as-parent/pom.xml
Modified:
uima/uima-as/trunk/uima-as-parent/ (props changed)
Propchange: uima/uima-as/trunk/uima-as-parent/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Nov 29 20:06:57 2010
@@ -0,0 +1,3 @@
+.settings
+target
+.project
Added: uima/uima-as/trunk/uima-as-parent/pom.xml
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uima-as-parent/pom.xml?rev=1040259&view=auto
==============================================================================
--- uima/uima-as/trunk/uima-as-parent/pom.xml (added)
+++ uima/uima-as/trunk/uima-as-parent/pom.xml Mon Nov 29 20:06:57 2010
@@ -0,0 +1,207 @@
+<?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 the UIMA-AS common parent pom,
+ and may include overrides to the project-wide parent-pom.
+ Over time, things in this pom which apply to
+ other projects within UIMA are migrated to the
+ project-wide parent pom.
+ -->
+
+<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>parent-pom</artifactId>
+ <version>1</version>
+ <relativePath />
+ </parent>
+
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uima-as-parent</artifactId>
+ <packaging>pom</packaging>
+ <version>2.3.1-SNAPSHOT</version>
+ <name>UIMA-AS: ${project.artifactId}</name>
+ <description>The common parent pom for uima-as</description>
+ <url>${uimaWebsiteUrl}</url>
+
+ <scm>
+ <connection>
+ scm:svn:http://svn.apache.org/repos/asf/uima/uima-as/trunk/uima-as-parent
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.apache.org/repos/asf/uima/uima-as/trunk/uima-as-parent
+ </developerConnection>
+ <url>
+ http://svn.apache.org/viewvc/uima/uima-as/trunk/uima-as-parent
+ </url>
+ </scm>
+
+ <!-- The repositories section is duplicated from
+ the parent pom one, and adds the Apache Snapshot Nexus repository
+ where UIMA snapshots are deployed. This is needed if for instance,
+ a project depends on some new SNAPSHOT level of a build tool,
+ where the users hasn't checked out the build tooling.
+
+ This allows maven to find the snapshots when looking for the parent of
+ this pom -->
+ <repositories>
+ <repository>
+ <id>eclipsePlugins</id>
+ <name>Eclipse components</name>
+ <layout>default</layout>
+ <url>http://repo1.maven.org/eclipse</url>
+
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ <checksumPolicy>fail</checksumPolicy>
+ </releases>
+
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+
+ <!-- modify central repository access:
+ Turn on checksum checking-->
+ <repository>
+ <id>central</id>
+ <name>Maven Repository Switchboard</name>
+ <layout>default</layout>
+ <url>http://repo1.maven.org/maven2</url>
+
+ <releases>
+ <enabled>true</enabled>
+ <checksumPolicy>fail</checksumPolicy>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+
+ </repository>
+
+ <repository>
+ <id>apache.snapshots.plugins</id>
+ <name>Apache Snapshot Repository - Maven plugins</name>
+ <url>http://repository.apache.org/snapshots</url>
+ <layout>default</layout>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <checksumPolicy>fail</checksumPolicy>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <properties>
+ <uimaScmRoot>uima-as</uimaScmRoot>
+ <uimaScmProject>${project.artifactId}</uimaScmProject>
+ <!-- level of uimaj sdk this release depends on -->
+ <uimajDependencyVersion>${project.version}</uimajDependencyVersion>
+ </properties>
+
+ <profiles>
+ <!-- ********************************** -->
+ <!-- * Docbook Processing * -->
+ <!-- ********************************** -->
+
+ <!-- Skip docbook processing unless
+ the leaf child project has a docbook directory -->
+ <profile>
+ <id>process-docbook</id>
+ <activation>
+ <file><exists>src/docbook</exists></file>
+ </activation>
+
+ <build>
+ <plugins>
+ <!-- use the dependency:unpack goal to get the shared resource
+ that has the docbook-shared directory
+ Unpack into spot relative to project - because
+ these are referred to in docbook sources using
+ relative references
+
+ also unpack next to docbook-olink in
+ repository location for olink info, because
+ the site.xml files use relative location to
+ get at the uima entities -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <!-- use the dependency:unpack goal to get the shared resource
+ that has the docbook-shared directory
+ Unpack into spot relative to project - because
+ these are referred to in docbook sources using
+ relative references -->
+ <id>copyDocbookInfo</id>
+ <phase>prepare-package</phase>
+ <goals><goal>unpack</goal></goals>
+ <configuration>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uima-build-resources</artifactId>
+ <version>1</version>
+ <includes>docbook-shared/**</includes>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+
+ <execution>
+ <!-- also unpack next to docbook-olink in
+ repository location for olink info, because
+ the site.xml files use relative location to
+ get at the uima entities -->
+ <id>copyDocbookInfoNextToOlink</id>
+ <phase>prepare-package</phase>
+ <goals><goal>unpack</goal></goals>
+ <configuration>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ <markersDirectory>${dolRepo}/dependency-maven-plugin-markers</markersDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uima-build-resources</artifactId>
+ <version>1</version>
+ <includes>docbook-shared/**</includes>
+ <outputDirectory>${dolRepo}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>