summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAndreas Sewe2012-11-06 05:56:46 (EST)
committer Gerrit Code Review @ Eclipse.org2012-11-07 09:15:39 (EST)
commitf99e8a23cf289ceff53375180a3dfc981aacb3a9 (patch)
treef71c202f1b2e4d8363ef247bd334d1b92c2bae64
parent777f6fc163f7e5e163a0f3c2ce600157b89efb5b (diff)
downloadorg.eclipse.recommenders-f99e8a23cf289ceff53375180a3dfc981aacb3a9.zip
org.eclipse.recommenders-f99e8a23cf289ceff53375180a3dfc981aacb3a9.tar.gz
org.eclipse.recommenders-f99e8a23cf289ceff53375180a3dfc981aacb3a9.tar.bz2
[releng] Using tycho-source-feature-plugin to generate source features.refs/changes/29/8529/2
-rw-r--r--dist/org.eclipse.recommenders.repository.rcp.dev.e37/category.xml16
-rw-r--r--dist/org.eclipse.recommenders.repository.rcp.dev.e42/category.xml16
-rw-r--r--dist/org.eclipse.recommenders.repository.rcp.head.e37/category.xml22
-rw-r--r--dist/org.eclipse.recommenders.repository.rcp.head.e42/category.xml22
-rw-r--r--dist/org.eclipse.recommenders.repository.rcp/category.xml16
-rw-r--r--features/org.eclipse.recommenders.feature.completion.rcp.chain.e37/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.completion.rcp.chain/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.completion.rcp.intellig.e37/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.completion.rcp.intellig/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.completion.rcp.sandbox/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.completion.rcp.subwords/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.extdoc.rcp/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.rcp.core/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.rcp/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.rdk/sourceTemplateFeature/README.txt2
-rw-r--r--features/org.eclipse.recommenders.feature.snipmatch.rcp/sourceTemplateFeature/README.txt2
-rw-r--r--features/pom.xml37
-rw-r--r--pom.xml12
18 files changed, 162 insertions, 1 deletions
diff --git a/dist/org.eclipse.recommenders.repository.rcp.dev.e37/category.xml b/dist/org.eclipse.recommenders.repository.rcp.dev.e37/category.xml
index 7763d2f..b23d042 100644
--- a/dist/org.eclipse.recommenders.repository.rcp.dev.e37/category.xml
+++ b/dist/org.eclipse.recommenders.repository.rcp.dev.e37/category.xml
@@ -3,18 +3,33 @@
<feature id="org.eclipse.recommenders.feature.completion.rcp.subwords" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.subwords.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.extdoc.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.extdoc.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.chain.e37" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.chain.e37.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.intellig.e37" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.intellig.e37.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.rcp.core" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.rcp.core.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.3rd.orbit" version="0.0.0">
<category name="3rd"/>
</feature>
@@ -25,5 +40,6 @@
<category name="3rd"/>
</feature>
<category-def name="main" label="Code Recommenders - Eclipse 3.7"/>
+ <category-def name="source" label="Code Recommenders - Eclipse 3.7 Sources"/>
<category-def name="3rd" label="Dependencies (don&apos;t install)"/>
</site>
diff --git a/dist/org.eclipse.recommenders.repository.rcp.dev.e42/category.xml b/dist/org.eclipse.recommenders.repository.rcp.dev.e42/category.xml
index 06eea17..ea27a80 100644
--- a/dist/org.eclipse.recommenders.repository.rcp.dev.e42/category.xml
+++ b/dist/org.eclipse.recommenders.repository.rcp.dev.e42/category.xml
@@ -3,23 +3,39 @@
<feature id="org.eclipse.recommenders.feature.completion.rcp.subwords" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.subwords.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.extdoc.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.extdoc.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.chain" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.chain.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.3rd.orbit" version="0.0.0"/>
<feature id="org.eclipse.recommenders.feature.3rd.rcp.nonorbit" version="0.0.0"/>
<feature id="org.eclipse.recommenders.feature.completion.rcp.intellig" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.intellig.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.rcp.core" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.rcp.core.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.3rd.rcp.nonjuno" version="0.0.0"/>
<feature url="features/org.eclipse.recommenders.feature.rcp.core_1.0.0.qualifier.jar" id="org.eclipse.recommenders.feature.rcp.core" version="1.0.0.qualifier">
<category name="main"/>
</feature>
<category-def name="main" label="Code Recommenders - Eclipse 4.2"/>
+ <category-def name="source" label="Code Recommenders - Eclipse 4.2 Sources"/>
</site>
diff --git a/dist/org.eclipse.recommenders.repository.rcp.head.e37/category.xml b/dist/org.eclipse.recommenders.repository.rcp.head.e37/category.xml
index 4cbc061..fbb5f41 100644
--- a/dist/org.eclipse.recommenders.repository.rcp.head.e37/category.xml
+++ b/dist/org.eclipse.recommenders.repository.rcp.head.e37/category.xml
@@ -3,21 +3,39 @@
<feature id="org.eclipse.recommenders.feature.completion.rcp.subwords" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.subwords.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.extdoc.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.extdoc.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.chain.e37" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.chain.e37.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.intellig.e37" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.intellig.e37.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.sandbox" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.sandbox.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.rcp.core" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.rcp.core.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.3rd.orbit" version="0.0.0">
<category name="3rd"/>
</feature>
@@ -30,9 +48,13 @@
<feature id="org.eclipse.recommenders.feature.snipmatch.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.snipmatch.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature url="features/org.eclipse.recommenders.feature.rcp.core_1.0.0.qualifier.jar" id="org.eclipse.recommenders.feature.rcp.core" version="1.0.0.qualifier">
<category name="main"/>
</feature>
<category-def name="main" label="Code Recommenders - Eclipse 3.7"/>
+ <category-def name="source" label="Code Recommenders - Eclipse 3.7 Sources"/>
<category-def name="3rd" label="Dependencies (don&apos;t install)"/>
</site>
diff --git a/dist/org.eclipse.recommenders.repository.rcp.head.e42/category.xml b/dist/org.eclipse.recommenders.repository.rcp.head.e42/category.xml
index 6e4648c..609dde4 100644
--- a/dist/org.eclipse.recommenders.repository.rcp.head.e42/category.xml
+++ b/dist/org.eclipse.recommenders.repository.rcp.head.e42/category.xml
@@ -3,18 +3,33 @@
<feature id="org.eclipse.recommenders.feature.completion.rcp.subwords" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.subwords.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.extdoc.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.extdoc.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.chain" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.chain.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.snipmatch.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.snipmatch.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.intellig" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.intellig.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.3rd.orbit" version="0.0.0">
<category name="3rd"/>
</feature>
@@ -27,9 +42,15 @@
<feature id="org.eclipse.recommenders.feature.completion.rcp.sandbox" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.sandbox.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.rcp.core" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.rcp.core.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.rdk" version="0.0.0">
<category name="3rd"/>
</feature>
@@ -37,5 +58,6 @@
<category name="3rd"/>
</feature>
<category-def name="main" label="Code Recommenders - Eclipse 4.2"/>
+ <category-def name="source" label="Code Recommenders - Eclipse 4.2 Sources"/>
<category-def name="3rd" label="Dependencies (don&apos;t install)"/>
</site>
diff --git a/dist/org.eclipse.recommenders.repository.rcp/category.xml b/dist/org.eclipse.recommenders.repository.rcp/category.xml
index c5dd697..c4f57c0 100644
--- a/dist/org.eclipse.recommenders.repository.rcp/category.xml
+++ b/dist/org.eclipse.recommenders.repository.rcp/category.xml
@@ -3,21 +3,37 @@
<feature id="org.eclipse.recommenders.feature.completion.rcp.subwords" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.subwords.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.e37" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.e37.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.completion.rcp.chain.e37" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.completion.rcp.chain.e37.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.extdoc.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.extdoc.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.rcp" version="0.0.0">
<category name="main"/>
</feature>
+ <feature id="org.eclipse.recommenders.feature.rcp.source" version="0.0.0">
+ <category name="source"/>
+ </feature>
<feature id="org.eclipse.recommenders.feature.3rd.orbit" version="0.0.0">
<category name="3rd"/>
</feature>
<category-def name="main" label="Code Recommenders - Eclipse 3.7"/>
+ <category-def name="source" label="Code Recommenders - Eclipse 3.7 Sources"/>
<category-def name="3rd" label="Eclipse Code Recommenders - Dependencies (don&apos;t install)"/>
</site>
diff --git a/features/org.eclipse.recommenders.feature.completion.rcp.chain.e37/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.completion.rcp.chain.e37/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.completion.rcp.chain.e37/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.completion.rcp.chain/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.completion.rcp.chain/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.completion.rcp.chain/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.completion.rcp.intellig.e37/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.completion.rcp.intellig.e37/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.completion.rcp.intellig.e37/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.completion.rcp.intellig/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.completion.rcp.intellig/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.completion.rcp.intellig/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.completion.rcp.sandbox/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.completion.rcp.sandbox/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.completion.rcp.sandbox/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.completion.rcp.subwords/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.completion.rcp.subwords/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.completion.rcp.subwords/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.extdoc.rcp/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.extdoc.rcp/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.extdoc.rcp/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.rcp.core/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.rcp.core/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.rcp.core/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.rcp/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.rcp/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.rcp/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.rdk/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.rdk/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.rdk/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/org.eclipse.recommenders.feature.snipmatch.rcp/sourceTemplateFeature/README.txt b/features/org.eclipse.recommenders.feature.snipmatch.rcp/sourceTemplateFeature/README.txt
new file mode 100644
index 0000000..facb2ad
--- /dev/null
+++ b/features/org.eclipse.recommenders.feature.snipmatch.rcp/sourceTemplateFeature/README.txt
@@ -0,0 +1,2 @@
+The existence of this directory is required by the tycho-source-feature-plugin,
+which otherwise silently skips source-feature creation.
diff --git a/features/pom.xml b/features/pom.xml
index 77230e4..5b081cf 100644
--- a/features/pom.xml
+++ b/features/pom.xml
@@ -33,6 +33,43 @@
</modules>
<build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-source-feature-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>source-feature</id>
+ <goals>
+ <goal>source-feature</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <!-- Exclude 3rd party plugins without sources. -->
+ <excludes>
+ <plugin id="com.google.inject.assistedinject"/>
+ <plugin id="com.google.inject.multibindings"/>
+ <feature id="org.eclipse.recommenders.feature.3rd.orbit"/>
+ <feature id="org.eclipse.recommenders.feature.3rd.rcp.nonorbit"/>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-p2-metadata</id>
+ <goals>
+ <goal>p2-metadata</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
<pluginManagement>
<plugins>
<plugin>
diff --git a/pom.xml b/pom.xml
index a6b3d3b..1318ec2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -188,6 +188,11 @@
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <version>${tycho-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
@@ -195,6 +200,11 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-source-feature-plugin</artifactId>
+ <version>${tycho-version}</version>
+ </plugin>
+ <plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.9.0</version>
@@ -290,4 +300,4 @@
</plugins>
</pluginManagement>
</build>
-</project> \ No newline at end of file
+</project>