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/04/19 23:00:39 UTC
svn commit: r935744 - in
/uima/build/trunk/parent-poms/parent-pom-uimaj-eclipse-plugins: ./ pom.xml
Author: schor
Date: Mon Apr 19 21:00:39 2010
New Revision: 935744
URL: http://svn.apache.org/viewvc?rev=935744&view=rev
Log:
[UIMA-1756] add common parent pom for eclipse plugins.
Added:
uima/build/trunk/parent-poms/parent-pom-uimaj-eclipse-plugins/
uima/build/trunk/parent-poms/parent-pom-uimaj-eclipse-plugins/pom.xml
Added: uima/build/trunk/parent-poms/parent-pom-uimaj-eclipse-plugins/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-uimaj-eclipse-plugins/pom.xml?rev=935744&view=auto
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-uimaj-eclipse-plugins/pom.xml (added)
+++ uima/build/trunk/parent-poms/parent-pom-uimaj-eclipse-plugins/pom.xml Mon Apr 19 21:00:39 2010
@@ -0,0 +1,120 @@
+<!--
+ 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 holds common, factored-out settings for all the eclipse plugins
+ Those project's POMs refer to this as their "parent"
+ This POM refers to the parent-pom-uimaj as its parent
+ -->
+
+<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-uimaj</artifactId>
+ <version>1-SNAPSHOT</version>
+ </parent>
+
+ <!-- thru testing, discovered that "inheriting" the groupId isn't done
+ when scanning for projects -->
+ <groupId>org.apache.uima</groupId>
+ <artifactId>parent-pom-uimaj-eclipse-plugins</artifactId>
+ <version>1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>Apache UIMA Java SDK common Eclipse plugin settings</name>
+ <description>Holds common, factored out settings for eclipse plugins</description>
+
+ <!-- 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 incorrectly 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>build</uimaScmRoot>
+ <uimaScmProject>parent-poms/parent-pom-uimaj-eclipse-plugins</uimaScmProject>
+ <postNoticeText>
+Portions of UIMA were originally developed by
+International Business Machines Corporation and are
+licensed to the Apache Software Foundation under the
+"Software Grant License Agreement", informally known as the
+"IBM UIMA License Agreement".
+Copyright (c) 2003, 2006 IBM Corporation.
+ </postNoticeText>
+
+ </properties>
+
+ <build>
+ <!-- resources are "merged" -->
+ <!-- needed to copy resources, icons, and the plugin.xml to the result -->
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>icons/*.*</include>
+ </includes>
+ </resource>
+ <!-- need the following, is not "merged" from the overall maven superPom -->
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+
+ <plugins>
+ <!-- special eclipse:eclipse configuration for Eclipse plugins -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <manifest>.ignore</manifest>
+ <pde>true</pde>
+ <!-- set next to false because refs to runtime project
+ as a project don't work (because it is a library project,
+ and has no sources of its own
+
+ A consequence of this: If you change code a plugin depends on,
+ run "mvn install" on the changed code to get your plugin to
+ pick up the changes
+ -->
+ <useProjectReferences>false</useProjectReferences>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file