Bug 507766 - Make o.e.releng.build.tools.feature.source autogenerated
As the bundles are autogenerated so should the feature be.
Change-Id: I1c186972001ab450bd5fe3b5032be57017668120
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/features/org.eclipse.releng.build.tools.feature.source/.gitignore b/features/org.eclipse.releng.build.tools.feature.source/.gitignore
deleted file mode 100644
index bb5e943..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/bin
-/target
\ No newline at end of file
diff --git a/features/org.eclipse.releng.build.tools.feature.source/.project b/features/org.eclipse.releng.build.tools.feature.source/.project
deleted file mode 100644
index 5a56155..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.releng.build.tools.feature.source</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.releng.build.tools.feature.source/.settings/org.eclipse.core.resources.prefs b/features/org.eclipse.releng.build.tools.feature.source/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 99f26c0..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-encoding/<project>=UTF-8
diff --git a/features/org.eclipse.releng.build.tools.feature.source/.settings/org.eclipse.core.runtime.prefs b/features/org.eclipse.releng.build.tools.feature.source/.settings/org.eclipse.core.runtime.prefs
deleted file mode 100644
index 5a0ad22..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/.settings/org.eclipse.core.runtime.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-line.separator=\n
diff --git a/features/org.eclipse.releng.build.tools.feature.source/build.properties b/features/org.eclipse.releng.build.tools.feature.source/build.properties
deleted file mode 100644
index b3a611b..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/build.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-bin.includes = feature.xml,\
- feature.properties
diff --git a/features/org.eclipse.releng.build.tools.feature.source/feature.properties b/features/org.eclipse.releng.build.tools.feature.source/feature.properties
deleted file mode 100644
index 8d085e2..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/feature.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-###############################################################################
-# Copyright (c) 2013 IBM Corporation and others.
-# 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:
-# David Williams - initial implementation
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=Eclipse Platform releng build tools Source
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse Platform Releng
-
-# "description" property - description of the feature
-description=Source for Ant tasks and applications to assist in building Eclipse Platform.
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2013 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n
-################ end of copyright property ####################################
\ No newline at end of file
diff --git a/features/org.eclipse.releng.build.tools.feature.source/feature.xml b/features/org.eclipse.releng.build.tools.feature.source/feature.xml
deleted file mode 100644
index dfcb33c..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/feature.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.releng.build.tools.feature.source"
- label="%featureName"
- version="1.0.101.qualifier"
- provider-name="%providerName"
- license-feature="org.eclipse.license"
- license-feature-version="1.0.1.v20140414-1359">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <plugin
- id="org.eclipse.build.tools.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.releng.build.tools.convert.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.releng.build.tools.convert.application.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.releng.build.tools.comparator.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.test.performance.ui.source"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
diff --git a/features/org.eclipse.releng.build.tools.feature.source/pom.xml b/features/org.eclipse.releng.build.tools.feature.source/pom.xml
deleted file mode 100644
index 630101f..0000000
--- a/features/org.eclipse.releng.build.tools.feature.source/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.eclipse.platform</groupId>
- <artifactId>features</artifactId>
- <version>1.0.101-SNAPSHOT</version>
- </parent>
- <groupId>org.eclipse.platform</groupId>
- <artifactId>org.eclipse.releng.build.tools.feature.source</artifactId>
- <version>1.0.101-SNAPSHOT</version>
- <packaging>eclipse-feature</packaging>
-</project>
diff --git a/features/org.eclipse.releng.build.tools.feature/pom.xml b/features/org.eclipse.releng.build.tools.feature/pom.xml
index 681aa1f..859eb8e 100644
--- a/features/org.eclipse.releng.build.tools.feature/pom.xml
+++ b/features/org.eclipse.releng.build.tools.feature/pom.xml
@@ -11,4 +11,39 @@
<artifactId>org.eclipse.releng.build.tools.feature</artifactId>
<version>1.0.101-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-source-feature-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>source-feature</id>
+ <phase>package</phase>
+ <goals>
+ <goal>source-feature</goal>
+ </goals>
+ <configuration>
+ <excludes>
+ <plugin id="org.eclipse.test.performance"/>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attached-p2-metadata</id>
+ <phase>package</phase>
+ <goals>
+ <goal>p2-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/features/pom.xml b/features/pom.xml
index 3a3475e..ac0a73a 100644
--- a/features/pom.xml
+++ b/features/pom.xml
@@ -13,7 +13,6 @@
<packaging>pom</packaging>
<modules>
<module>org.eclipse.releng.build.tools.feature</module>
- <module>org.eclipse.releng.build.tools.feature.source</module>
</modules>
<build>
<plugins>