-
Notifications
You must be signed in to change notification settings - Fork 95
ThirdPartyLibraries
Will Rogers edited this page Apr 7, 2016
·
3 revisions
There are different ways to include third-party libraries in CS-Studio. In order of preference:
The Orbit repository provides some common libraries in a p2 repo for Eclipse products to use. If a library is in the Orbit repository, it is preferable to use this version.
The maven-osgi-bundles repo is used by CS-Studio to do a similar bundling, grabbing jar files from Maven Central and providing them in a p2 repo. If the jars from Maven Central are already bundled, they are not changed. If they are not bundled it uses a tool called BND to create an OSGi bundle for those jars.
There are two ways to add an artifact to maven-osgi-bundles:
- add the library to
repository/pom.xml - if you need more control over how the bundle is configured, you may need to follow the examples in the
epicsdirectory. This uses the Apache Felix Maven Bundle Plugin.
As a last resort,