Discussion:
[tycho-user] Generating source feature in "dependency on POM-first artifacts" build?
Andreas Sewe
2017-08-22 21:41:31 UTC
Permalink
Hi,

I have a two-part build, following the "Dependency on POM-first
artifacts" HOWTO: One reactor uses the maven-bundle-plugin to build
OSGi-bundles and a second reactor uses Tycho to consume them with
pomDependencies=consider. This works fine (as documented).

Now I want to apply the tycho-source-feature-plugin in the second
reactor to a feature that includes POM-first artifacts.

This fails as there are no source *bundles* build in the first reactor;
the maven-source-plugin produces just a plain *-sources.jar and AFAICT
the maven-bundle-plugin doesn't offer an option to build an OSGi source
bundle, either.

Has anyone got a build with the maven-bundle-plugin and
tycho-source-feature-plugin working together? I am grateful for any
pointers (and willing to update the Wiki accordingly. ;-)

Best wishes,

Andreas

[1]
<https://wiki.eclipse.org/Tycho/How_Tos/Dependency_on_pom-first_artifacts>
--
Codetrails GmbH
The best code possible

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
Loading...