Thank you both Nick and Michael,
I could create my dynamic composite site generation.
I've create an aggregate maven project and created one profile
that builds all p2 for a specific milestone.
I added an ant build in the verify phase of each p2 project that
copy the result to a deployment folder.
To finish, in the verify phase of the aggregate project I added an
ant script that takes each copied subfolder and creates the two
xml needed for composite p2.
cheers,
Cristiano
On 16/01/13 17:20, Cristiano Gavião wrote:
Hi,
I'm generating a series of p2 repositories for my system, one for
each module.
Until now I'm creating a composite p2 for each milestone by hand
and I would like to automate this in the same aggregate reactor
that creates the p2.
I could find that exists an ant target in the
org.eclipse.equinox.p2.repository.tools bundle that could be used
for this goal.
I know that I could use maven-antrun-plugin, but I couldn't find a
way to reference the bundle on it, since its not published in
maven central repo.
Could someone give me a hint/example of how could I use it inside
a tycho build ?
thanks for any tip.
Cristiano
|