Skip to main content
summaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorChristoph Caks2014-11-10 04:32:22 -0500
committerChristoph Caks2014-11-10 05:00:51 -0500
commit2dc752814062593795a0a39945a2020a9e77f89b (patch)
tree4bc6f8ff08c4b10e5dc6c4b521048b60b22d4979 /releng
parent5ab9af400b85c4a98dfd3de88f9c3ca3fca2fa8a (diff)
downloadorg.eclipse.efxclipse-2dc752814062593795a0a39945a2020a9e77f89b.tar.gz
org.eclipse.efxclipse-2dc752814062593795a0a39945a2020a9e77f89b.tar.xz
org.eclipse.efxclipse-2dc752814062593795a0a39945a2020a9e77f89b.zip
Bug 450811 - Add bndtools compatible index to runtime update site
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.fx.updatesite/pom.xml54
1 files changed, 53 insertions, 1 deletions
diff --git a/releng/org.eclipse.fx.updatesite/pom.xml b/releng/org.eclipse.fx.updatesite/pom.xml
index 0f0bd50f9..092b0d15e 100644
--- a/releng/org.eclipse.fx.updatesite/pom.xml
+++ b/releng/org.eclipse.fx.updatesite/pom.xml
@@ -26,6 +26,58 @@
<archiveSite>true</archiveSite>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>build-p2-obr-index</id>
+ <phase>package</phase>
+ <configuration>
+ <urlTemplate>plugins/%f</urlTemplate>
+ <mavenRepository>${project.build.directory}/site/plugins</mavenRepository>
+ <obrRepository>${project.build.directory}/site/repository.xml</obrRepository>
+ </configuration>
+ <goals>
+ <goal>index</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>build-obr-index</id>
+ <phase>package</phase>
+ <configuration>
+ <urlTemplate>%f</urlTemplate>
+ <mavenRepository>${project.build.directory}/site/plugins</mavenRepository>
+ <obrRepository>${project.build.directory}/site/plugins/repository.xml</obrRepository>
+ </configuration>
+ <goals>
+ <goal>index</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-obr-archive</id>
+ <phase>package</phase>
+ <configuration>
+ <tasks>
+ <zip destfile="${project.build.directory}/obr.zip">
+ <fileset dir="${project.build.directory}/site/plugins" />
+ </zip>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
@@ -65,4 +117,4 @@
</profile>
</profiles>
-</project> \ No newline at end of file
+</project>

Back to the top