On 01/22/2016 10:55 AM, Lee Carver
wrote:
David -
You'll probably also want to set up a PDE Target Platform,
especially for those modules (e.g. Guava, slf4j?) that are
OSGi compliant from MavenCentral. I found that Eclipse/m2e
would load the repackaged modules through Maven dependencies,
but not the ones that are already OSGi compliant.
The application already has a target platform definition. I noticed
that slf4j is already available in one of the p2 repos there, so
that one will be easy. The others are harder. I don't fully
understand the last sentence (not that I understand target platforms
that well either).
The tidiest solution that I found was a Maven project that
copies these OSGi compliant libraries into a target/ area
based on the Maven ID. It's straightforward to add the
contents of the target/ directory to your Target Platform, and
you don't have to check-in the library modules into your
version control system.
Could you please elaborate? I don't know what to do with this. Are
you doing this in "depan" somewhere?
I did manage to answer part of my question about what you're doing
in "depan". I did find the four libraries with maven dependencies
and the "maven-bundle-plugin" reference. I just don't understand
the other parts, that make this available for other plugins to
depend on.
_______________________________________________
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
|