How to consume zipped updatesites in .target files #5982
Replies: 2 comments 20 replies
-
|
I'm still investigating further and stumbled about this demo project: However when building that with maven clean install -Dtycho-version=5.0.2 i see that the artifacts are installed in my repo, but when trying to use them i see the following error: Any idea what the problem could be? |
Beta Was this translation helpful? Give feedback.
-
|
First a target itself is not an update-site. If you have a zip and deploy that to a maven repository you can consume it in another target using the |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i don't know if the title is actually expressing my problem or the correct approach to solve it, so i'll start to give a bit of background information
Current approach
<location ... type="Maven">- which works very wellRequired Change
We are in the need to get rid of that not more supported Nexus 2 Installation with the custom p2 plugins which generates p2 metadata for maven jar's that contain a OSGi MANFEST.MF.
We need to migrate to a plain maven repository manager. Getting rid of additional (local) p2 mirror locations / sites on additional (local) HTTP servers would be very good as well.
Idea
It would be great to transform the current .target location into a zipped p2 repository, deploy that to our maven repository server (could be an additional releng project/script) and consume that for the developers and the tycho build in another .target file for build and development.
What I've tried so far
For me the missing piece seems to be, how to consume the generated p2 site in a .target definition. I've found some exampled where artifacts/bundles of the current build are assembled as p2 repo and then consumed via things like
mvn:org.eclipse.tycho.demo:p2-maven-site:1.0.0:zip:p2site, but they reference other maven artifacts via their GAV's where i currently have a full blown .zipped p2 site which i want to use.My steps:
And now I'm stuck with including that artifact back in another .target definition with all the included IU's etc.
I tried several references like
or
but none of them seems to work in the IDE - i not even tried it with tycho as long as it's not working in the IDE.
I'm not even sure if i'm on the right track.
Thanks for any hints or ideas on this.
Bye Peter
Beta Was this translation helpful? Give feedback.
All reactions