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 2008/03/09 21:29:02 UTC
svn commit: r635347 - in
/incubator/uima/sandbox/trunk/uima-as/uimaj-as/eclipse-plugin-superPom: ./
pom.xml
Author: schor
Date: Sun Mar 9 13:29:00 2008
New Revision: 635347
URL: http://svn.apache.org/viewvc?rev=635347&view=rev
Log:
[UIMA-861] Add eclipse-plugin-superPom (using the same approach as in the base UIMA build)
Added:
incubator/uima/sandbox/trunk/uima-as/uimaj-as/eclipse-plugin-superPom/
incubator/uima/sandbox/trunk/uima-as/uimaj-as/eclipse-plugin-superPom/pom.xml
Added: incubator/uima/sandbox/trunk/uima-as/uimaj-as/eclipse-plugin-superPom/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uimaj-as/eclipse-plugin-superPom/pom.xml?rev=635347&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uimaj-as/eclipse-plugin-superPom/pom.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uimaj-as/eclipse-plugin-superPom/pom.xml Sun Mar 9 13:29:00 2008
@@ -0,0 +1,113 @@
+<!--
+ 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 uimaj pom 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>
+ <!-- thru testing, discovered that "inheriting" the groupId isn't done
+ when scanning for projects -->
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-as-eclipse-plugins</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache UIMA Java SDK common Eclipse plugin settings</name>
+ <description>Holds common, factored out settings for eclipse plugins</description>
+ <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>
+
+ <parent>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-as</artifactId>
+ <version>2.2.2-incubating-SNAPSHOT</version> <!-- this comment is a flag for changeVersion -->
+ </parent>
+
+ <!-- note this version is different from the rest of the versions
+ in that it has a "." instead of a "-" before the "incubating"
+ word. In Maven, the "-" is the convention, but in Eclipse,
+ a "." is required -->
+ <!-- thru testing, discovered that $ { } vars are not substituted, when "scanning for projects" -->
+ <version>2.2.2.incubating-SNAPSHOT</version> <!-- this comment is a flag for changeVersion - eclipse -->
+
+ <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>
+
+
+ <!-- plugin Management is configuration info, but does not
+ cause the running of the mentioned plugins. Each
+ child pom can optionally include the plugin to run it
+ -->
+ <pluginManagement>
+ <plugins>
+ </plugins>
+ </pluginManagement>
+
+ <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>
+
+ <!-- listing the modules here allows running mvn xxx on this pom
+ and having it recurse into all the children -->
+
+ <modules>
+ <module>../../uimaj-ep-deployeditor</module>
+ <module>../../uimaj-ep-runtime-deployeditor</module>
+ </modules>
+</project>
\ No newline at end of file