[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] tycho-source-plugin: Generating source bundle for artifact with "bundle" packaging
|
I would go with the maven source plugin
Jeff
Le 8 juil. 2016 14:59, "Andreas Sewe" <
andreas.sewe@xxxxxxxxxxxxxx> a écrit :
> I am using the maven-bundle-plugin to produce an OSGi bundle in one
> reactor that will then be consumed in another (Tycho-based) reactor to
> build a p2 update site. This works.
One afterthought:
I can add the following configuration to my jar:jar-no-fork goal:
> <configuration>
> <useDefaultManifestFile>true</useDefaultManifestFile>
> <archive>
> <manifestEntries>
> <Bundle-SymblicName>${project.artifactId}.source</Bundle-SymblicName>
> </manifestEntries>>
> </archive>
> </configuration>
This allows me to re-use the manifest generated by the
maven-bundle-plugin and to add new entries. Unfortunately, I cannot
overwrite existing entries, so the above would leave *two*
Bundle-SymbolicName headers. Also, I don't know of a way to remove
existing but unwanted entries like Export-Package.
Does anyone know whether this is possible?
Best wishes,
Andreas
--
Codetrails GmbH
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user