Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] how to create pom-first source bundles?

Hi Cristiano,

Tycho won't help you in this case. Eclipse source bundles need some extra manifest entries - they are OSGi bundles in their own right and also need a reference to the binary bundle they are the source for. Try adding something similar to the snippet below to the configuration for the maven-source-plugin;

<!-- Generate required manifest headers to create a consumable source bundle in eclipse -->

Here Bundle-SymblicName is the symbolic name of your binary bundle and Bundle-QualifiedVersion is the full OSGi version number including qualifier (if present).



On 5 January 2013 18:46, Cristiano Gavião <cvgaviao@xxxxxxxxx> wrote:

I'm using maven-bundle-plugin to create a pom-first bundle that wraps some non-osgi jars.

To be able to use it in eclipse debug I need to create a source bundle that includes the non-osgi source code. 

I have tried to use maven-source-plugin but its not working properly because it can't find any source...

could someone point me the way to achieve this ?

any tip is welcome...

thanks, Cristiano

tycho-user mailing list

Back to the top