Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2012-02-18 21:47:14 +0000
committerIgor Fedorenko2012-02-18 21:47:49 +0000
commit607899f5a3582bfbc7ff6d4061c4f5e0612f9a4e (patch)
tree38860ef545fbb243cf9c6da28ebab349811464e1 /m2e-maven-runtime/pom.xml
parent2cfd9224fb46abd97fd3d3a9d834fd973597deb1 (diff)
downloadm2e-core-607899f5a3582bfbc7ff6d4061c4f5e0612f9a4e.tar.gz
m2e-core-607899f5a3582bfbc7ff6d4061c4f5e0612f9a4e.tar.xz
m2e-core-607899f5a3582bfbc7ff6d4061c4f5e0612f9a4e.zip
install local p2 metadata for for m2e-maven-runtime bundles
... this allows execution of m2e-core-tests against locally installed m2e-core and enables other similar scenarios with locally installed m2e. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'm2e-maven-runtime/pom.xml')
-rw-r--r--m2e-maven-runtime/pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/m2e-maven-runtime/pom.xml b/m2e-maven-runtime/pom.xml
index fb28a413..80c1053a 100644
--- a/m2e-maven-runtime/pom.xml
+++ b/m2e-maven-runtime/pom.xml
@@ -34,6 +34,7 @@
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
<osgi-version-qualifier>${maven.build.timestamp}</osgi-version-qualifier>
<maven-bundle-plugin.version>2.3.6</maven-bundle-plugin.version>
+ <tycho.version>0.14.0</tycho.version>
</properties>
<modules>
@@ -45,6 +46,15 @@
</modules>
<build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+
<pluginManagement>
<plugins>
<plugin>
@@ -68,6 +78,21 @@
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <executions>
+ <execution>
+ <id>p2-metadata</id>
+ <goals>
+ <goal>p2-metadata</goal>
+ <goal>update-local-index</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
</build>

Back to the top