Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-02-22 19:58:12 +0000
committerAlexander Kurtakov2012-02-22 20:08:00 +0000
commit49bbaff444542e6c514dcd48cfdd70566220149e (patch)
treed717d5105cb6d76b46e75e5dc058421def2a45cb /lttng/org.eclipse.linuxtools.lttng/pom.xml
parent6eaf07faad9723798f68fbd7e0529f62644e8afc (diff)
downloadorg.eclipse.linuxtools-49bbaff444542e6c514dcd48cfdd70566220149e.tar.gz
org.eclipse.linuxtools-49bbaff444542e6c514dcd48cfdd70566220149e.tar.xz
org.eclipse.linuxtools-49bbaff444542e6c514dcd48cfdd70566220149e.zip
Enable source features and bundles generation.
Source feature generation is activated if there is sourceTemplateFeature directory in the feature. For the sake of git not caring about empty directories I put empty feature.properties in these directories. Also a p2 plugin instruction is added to the poms in order to get the generated source features visible for p2. New category for the sources is added to the repository category.xml and source features are added to it.
Diffstat (limited to 'lttng/org.eclipse.linuxtools.lttng/pom.xml')
-rw-r--r--lttng/org.eclipse.linuxtools.lttng/pom.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng/pom.xml b/lttng/org.eclipse.linuxtools.lttng/pom.xml
index d86c8fc1b8..8daad09391 100644
--- a/lttng/org.eclipse.linuxtools.lttng/pom.xml
+++ b/lttng/org.eclipse.linuxtools.lttng/pom.xml
@@ -24,4 +24,41 @@
<name>Linux Tools LTTng (Linux Tracing Toolkit)</name>
<groupId>org.eclipse.linuxtools.lttng</groupId>
+
+ <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.linuxtools.lttng.help"/>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>attached-p2-metadata</id>
+ <phase>package</phase>
+ <goals>
+ <goal>p2-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>

Back to the top