Add top-level pom.xml
Change-Id: If255a32827050acbbd444e96ba393b987aeb9549
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
diff --git a/org.eclipse.egit.fetchfactory/.gitignore b/org.eclipse.egit.fetchfactory/.gitignore
index 5e56e04..c87594b 100644
--- a/org.eclipse.egit.fetchfactory/.gitignore
+++ b/org.eclipse.egit.fetchfactory/.gitignore
@@ -1 +1,2 @@
/bin
+target
diff --git a/org.eclipse.egit.fetchfactory/META-INF/MANIFEST.MF b/org.eclipse.egit.fetchfactory/META-INF/MANIFEST.MF
index 7114ea9..23769d8 100644
--- a/org.eclipse.egit.fetchfactory/META-INF/MANIFEST.MF
+++ b/org.eclipse.egit.fetchfactory/META-INF/MANIFEST.MF
@@ -6,5 +6,6 @@
Bundle-Vendor: %Bundle-Vendor
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.pde.build;bundle-version="[3.6.1,4.0.0)",
- org.eclipse.equinox.common;bundle-version="[3.6.0,4.0.0)"
+ org.eclipse.equinox.common;bundle-version="[3.6.0,4.0.0)",
+ org.eclipse.osgi;bundle-version="[3.6.0,4.0.0)"
Export-Package: org.eclipse.egit.internal.fetchfactory;version="0.10.0";x-internal:=true
diff --git a/org.eclipse.egit.fetchfactory/pom.xml b/org.eclipse.egit.fetchfactory/pom.xml
index 2ed7020..870220b 100644
--- a/org.eclipse.egit.fetchfactory/pom.xml
+++ b/org.eclipse.egit.fetchfactory/pom.xml
@@ -17,8 +17,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.eclipse.egit</groupId>
- <artifactId>egit-parent</artifactId>
+ <groupId>org.eclipse.egit.pde</groupId>
+ <artifactId>egit-pde-parent</artifactId>
<version>0.10.0-SNAPSHOT</version>
</parent>
diff --git a/org.eclipse.egit.pde-feature/feature.properties b/org.eclipse.egit.pde-feature/feature.properties
index 9f16306..2157f5c 100644
--- a/org.eclipse.egit.pde-feature/feature.properties
+++ b/org.eclipse.egit.pde-feature/feature.properties
@@ -13,7 +13,7 @@
# description property - text of the "Feature Descrption"
description=\
-Git support for PDE Build and release engineering.\n
+Git support for PDE Build.\n
################ end of description property ##################################
# "copyright" property - text of the "Feature Update Copyright"
diff --git a/org.eclipse.egit.pde-feature/feature.xml b/org.eclipse.egit.pde-feature/feature.xml
index b486785..e73178a 100644
--- a/org.eclipse.egit.pde-feature/feature.xml
+++ b/org.eclipse.egit.pde-feature/feature.xml
@@ -25,6 +25,7 @@
<requires>
<import plugin="org.eclipse.pde.build" version="3.6.1" match="compatible"/>
<import plugin="org.eclipse.equinox.common" version="3.6.0" match="compatible"/>
+ <import plugin="org.eclipse.osgi" version="3.6.0" match="compatible"/>
</requires>
<plugin
diff --git a/org.eclipse.egit.pde-feature/pom.xml b/org.eclipse.egit.pde-feature/pom.xml
index 6649da6..c356906 100644
--- a/org.eclipse.egit.pde-feature/pom.xml
+++ b/org.eclipse.egit.pde-feature/pom.xml
@@ -1,48 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2010 Chris Aniszczyk and others.
- All rights reserved.
+ Copyright (C) 2010, Chris Aniszczyk <caniszczyk@gmail.com>
- This program and the accompanying materials are made available under the
- terms of the Eclipse Public License v1.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v10.html.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+-->
- Contributors:
- Chris Aniszczyk <caniszczyk@gmail.com> - initial API and implementation
- -->
-<feature
- id="org.eclipse.egit.pde"
- label="%featureName"
- version="0.10.0.qualifier"
- provider-name="%providerName">
+<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>
- <description url="http://www.eclipse.org/egit/">
- %description
- </description>
+ <parent>
+ <groupId>org.eclipse.egit.pde</groupId>
+ <artifactId>egit-pde-parent</artifactId>
+ <version>0.10.0-SNAPSHOT</version>
+ </parent>
- <copyright>
- %copyright
- </copyright>
+ <artifactId>org.eclipse.egit-feature</artifactId>
+ <packaging>eclipse-feature</packaging>
- <license url="%licenseURL">
- %license
- </license>
+ <name>Git Fetch Factory for PDE Build Feature (Incubation)</name>
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/egit/updates"/>
- <discovery label="%updateSiteName" url="http://download.eclipse.org/egit/updates"/>
- </url>
-
- <requires>
- <import plugin="org.eclipse.equinox.common" version="3.6.0" match="compatible"/>
- <import plugin="org.eclipse.pde.build" version="3.6.1" match="compatible"/>
- </requires>
-
- <plugin
- id="org.eclipse.egit.fetchfactory"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
+</project>
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..3128702
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2010, Chris Aniszczyk <caniszczyk@gmail.com>
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+-->
+
+<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>
+
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
+
+ <groupId>org.eclipse.egit.pde</groupId>
+ <artifactId>egit-pde-parent</artifactId>
+ <version>0.10.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>EGit PDE Parent (Incubation)</name>
+
+ <mailingLists>
+ <mailingList>
+ <name>egit-dev Mailing List</name>
+ <post>egit-dev@eclipse.org</post>
+ <subscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</subscribe>
+ <unsubscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</unsubscribe>
+ <archive>http://dev.eclipse.org/mhonarc/lists/egit-dev</archive>
+ </mailingList>
+ </mailingLists>
+
+ <issueManagement>
+ <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;product=EGit;classification=Technology</url>
+ <system>Bugzilla</system>
+ </issueManagement>
+
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <comments>
+ All rights reserved.
+
+ This program and the accompanying materials are made
+ available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.htm
+ </comments>
+ </license>
+ </licenses>
+
+ <properties>
+ <tycho-version>0.10.0</tycho-version>
+ <platform-version-name>helios</platform-version-name>
+ <eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
+ </properties>
+
+ <profiles>
+ <profile>
+ <id>platform-helios</id>
+ <activation>
+ <property>
+ <name>platform-version-name</name>
+ <value>helios</value>
+ </property>
+ </activation>
+ <properties>
+ <platform-version>[3.6,3.7)</platform-version>
+ </properties>
+ </profile>
+ </profiles>
+
+ <modules>
+ <module>org.eclipse.egit.fetchfactory</module>
+
+ <module>org.eclipse.egit.pde-feature</module>
+ </modules>
+
+ <repositories>
+ <repository>
+ <id>helios</id>
+ <layout>p2</layout>
+ <url>${eclipse-site}</url>
+ </repository>
+ </repositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- TODO remove workaround when
+ https://issues.sonatype.org/browse/TYCHO-473
+ is fixed -->
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-source-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>attach-source</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>plugin-source</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.4.1</version>
+ <configuration>
+ <encoding>ISO-8859-1</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.3</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
+