parent-pom-eclipse-plugins
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.uima</groupId> <artifactId>parent-pom-eclipse-plugins</artifactId> <version>4</version> </dependency>
<?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 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-docbook 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-docbook</artifactId> <version>4</version> <relativePath>../parent-pom-docbook</relativePath> </parent> <artifactId>parent-pom-eclipse-plugins</artifactId> <version>4</version> <packaging>pom</packaging> <name>UIMA ${project.artifactId}</name> <description>Holds common, factored out settings for eclipse plugins</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 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/build/tags/parent-pom-eclipse-plugins-4 </connection> <developerConnection> scm:svn:https://svn.apache.org/repos/asf/uima/build/tags/parent-pom-eclipse-plugins-4 </developerConnection> <url> http://svn.apache.org/viewvc/uima/build/tags/parent-pom-eclipse-plugins-4 </url> </scm> <properties> <uimaScmRoot>build</uimaScmRoot> <uimaScmProject>parent-poms/${project.artifactId}</uimaScmProject> </properties> <profiles> <profile> <activation> <file> <missing>marker-file-identifying-parent-pom-eclipse-plugins</missing> </file> </activation> <build> <finalName>${project.artifactId}_${parsedVersion.osgiVersion}</finalName> <!-- 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> <pluginManagement> <!-- run the felix plugin in manifest mode because that plugin doesn't resolve all properties e.g., parsedVersion.osgiVersion --> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <executions> <execution> <id>uima-bundle</id> <goals><goal>manifest</goal></goals> <phase>process-classes</phase> <configuration> <!-- we put the generate manifest in the spot where Eclipse plugins think it will be --> <manifestLocation>META-INF/</manifestLocation> </configuration> </execution> <!-- turn off unneeded executions --> <execution> <id>default-deploy</id> <phase /> </execution> <execution> <id>default-install</id> <phase /> </execution> <execution> <id>default-bundle</id> <phase /> </execution> </executions> </plugin> <!-- pick up the manifest felix generates --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <!-- 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> </pluginManagement> </build> </profile> </profiles> </project>