-
Notifications
You must be signed in to change notification settings - Fork 26
Home
mickaelistria edited this page Mar 14, 2013
·
5 revisions
This repository contains some utils Maven plugins that are developed and used in the context of (JBoss Tools)[http://www.jboss.org/tools], They are mostly targetting builds of Eclipse artifacts with (Tycho)[http://eclipse.org/tycho]
- Current version is 0.16.0.CR1 and is compatible with Tycho 0.16
- Current snapshot is 0.16.0-SNAPSHOT and is compatible with Tycho 0.16
Those artifacts are made public on JBoss Nexus repository. In order to use them, add the JBoss Nexus repository either to your pom.xml
or settings.xml
:
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
</pluginRepository>
<pluginRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
This Mojo allows to add to p2 repository produced by Tycho some more suger:
- An index.html listing IUs (overridable template)
- p2 stats URL
- Some more additional sites (ie references)
You can use it as follows
<build>
...
<plugins>
<plugin>
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>repository-utils</artifactId>
<version>0.16.0-SNAPSHOT</version>
<executions>
<execution>
<id>generate-facade</id>
<phase>package</phase>
<goals>
<goal>generate-repository-facade</goal>
</goals>
<configuration>
<!-- Symbols are used while expanding index.html template -->
<symbols>
<update.site.name>My p2 Repo</update.site.name>
<update.site.description>Use this URL in Eclipse to install awesome stuff</update.site.description>
</symbols>
<p2StatsUrl>http://server.org/url/where/to/push/stats</p2StatsUrl>
<associateSites>
<p2StatsUrl>http://download.eclipse.org/releases/kepler</p2StatsUrl>
</associateSites>
</configuration>
</execution>
</executions>
<plugin>
<plugins>
<build>