Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] how to use OSGi bundles as plain jars in a MOJO

Hi,

I'm co-project lead of the Eclipse eTrice project.
We have a code generator that produces Java code from our ROOM models.
The generator is an OSGi bundle that has dependencies to other eTrice bundles and to framework bundles like EMF, platform and the like.
Currently we can invoke the generator from a launcher or we call it from the command line without OSGi having the required jars on the class path.

Now we would like to wrap the generator in a Maven plug-in to participate in the generate-sources phase.

I assume we should create Maven artifacts from the involved eTrice plug-ins to be able to consume them in the mojo build.
Does Tycho help to produce standard Maven artifacts or does it only produce p2 repositories?

I would be grateful for an answer to my question and possibly some hints how to set up my generator-mojo.

-Henrik


Back to the top