Commit 95159bad authored by Erwan Bousse's avatar Erwan Bousse

Adding maven configuration lines to generate source bundles and features and...

Adding maven configuration lines to generate source bundles and features and to add them in the update site
parent 7498f8d0
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<site> <site>
<description name="Moclodash"> <description name="Moclodash">
Moclodash nightly builds.
</description> </description>
<feature url="features/fr.inria.diverse.cloning.feature_0.1.0.qualifier.jar" id="fr.inria.diverse.cloning.feature" version="0.1.0.qualifier"> <feature url="features/fr.inria.diverse.cloning.feature_0.1.0.qualifier.jar" id="fr.inria.diverse.cloning.feature" version="0.1.0.qualifier">
<category name="moclodash"/> <category name="moclodash"/>
</feature> </feature>
<feature url="features/fr.inria.diverse.cloning.materialgenerator.feature_0.1.0.qualifier.jar" id="fr.inria.diverse.cloning.materialgenerator.feature" version="0.1.0.qualifier"> <feature url="features/fr.inria.diverse.cloning.materialgenerator.feature_0.1.0.qualifier.jar" id="fr.inria.diverse.cloning.materialgenerator.feature" version="0.1.0.qualifier">
<category name="moclodash"/> <category name="moclodash"/>
</feature> </feature>
<category-def name="moclodash" label="Moclodash"> <category-def name="moclodash" label="Moclodash">
<description> <description>
Contains all moclodash features. Contains all moclodash features.
</description> </description>
</category-def> </category-def>
<feature url="features/fr.inria.diverse.cloning.feature_0.1.0.qualifier-sources-feature.jar" id="fr.inria.diverse.cloning.feature.source" version="0.1.0.qualifier">
<category name="moclodash-sources"/>
</feature>
<feature url="features/fr.inria.diverse.cloning.materialgenerator.feature_0.1.0.qualifier-sources-feature.jar" id="fr.inria.diverse.cloning.materialgenerator.feature.source" version="0.1.0.qualifier">
<category name="moclodash-sources"/>
</feature>
<category-def name="moclodash-sources" label="Moclodash (sources)">
<description>
Contains all moclodash sources.
</description>
</category-def>
</site> </site>
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
<properties> <properties>
<tycho.version>0.20.0</tycho.version> <tycho.version>0.20.0</tycho.version>
<tycho-extras.version>0.20.0</tycho-extras.version>
<kepler-repo.url>http://download.eclipse.org/releases/kepler</kepler-repo.url> <kepler-repo.url>http://download.eclipse.org/releases/kepler</kepler-repo.url>
</properties> </properties>
...@@ -82,6 +83,50 @@ ...@@ -82,6 +83,50 @@
<version>${tycho.version}</version> <version>${tycho.version}</version>
<extensions>true</extensions> <extensions>true</extensions>
</plugin> </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tycho-extras.version}</version>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment