Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-02-22 14:58:12 -0500
committerAlexander Kurtakov2012-02-22 15:08:00 -0500
commit49bbaff444542e6c514dcd48cfdd70566220149e (patch)
treed717d5105cb6d76b46e75e5dc058421def2a45cb /libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/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 'libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/pom.xml')
-rw-r--r--libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/pom.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/pom.xml b/libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/pom.xml
index f200ec56b1..6d68109d62 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/pom.xml
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/pom.xml
@@ -23,4 +23,40 @@
<name>Linux Tools Libhover Newlib Feature</name>
+ <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.cdt.libhover.newlib"/>
+ </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