Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » How generate a p2 and maven repo?
How generate a p2 and maven repo? [message #667009] Mon, 25 April 2011 09:46 Go to previous message
Martin Taal is currently offline Martin Taal
Messages: 5049
Registered: July 2009
Senior Member
Hi,
I want to generate a maven repository from the Texo/Teneo update site during the build process. The update site is
created during the build and at the end of the build I want to use b3 to generate a new site from the initial generated
update site.

I want the update site to only contain the Texo features and no dependencies, is this possible or how can I do that?

To test this I started by creating a b3 xml (see below), when I do build repository (from the ui), 3 directories are
created p2, interim and final, the p2 only contains these folders:
org.eclipse.equinox.p2.core
org.eclipse.equinox.p2.engine
org.eclipse.equinox.p2.repository

and the final directory only contains artifact.jar and contents.jar.

So I miss the final p2 site/maven repository. Am I doing something wrong?

Here is the b3 aggr file:

<?xml version="1.0" encoding="UTF-8"?>
<aggregator:Aggregator xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0" buildmaster="//@contacts[email='mtaal@elver.org']"
label="Texo p2 and Maven repository" buildRoot="${user.home}/mytmp/test" mavenResult="true">
<configurations enabled="false"/>
<configurations enabled="false" operatingSystem="linux" windowSystem="gtk"/>
<contributions description="Texo" label="Texo" contacts="//@contacts[email='mtaal@elver.org']">
<repositories location=" http://download.eclipse.org/modeling/emft/texo/updates/inter im" description="Texo Update
Site"/>
</contributions>
<contributions label="Helios 3.6">
<repositories location="http://download.eclipse.org/releases/helios"/>
</contributions>
<contributions label="Texo Dependencies" contacts="//@contacts[email='mtaal@elver.org']">
<repositories location="http://www.elver.org/eclipse/update"/>
</contributions>
<contacts name="Martin Taal" email="mtaal@elver.org"/>
</aggregator:Aggregator>




--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Mirroring Helios-Updatesite with B3
Next Topic:Updated description for setting up development environment
Goto Forum:
  


Current Time: Mon May 20 20:50:21 EDT 2013

Powered by FUDForum. Page generated in 0.04892 seconds