Setting netigso(felix) properties from a maven based NetBeans platform module(nbm-maven-plugin)
"heidtmare" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm attempting to use controlsfx in an nbm but at runtime the module fails to load because Felix doesn't expose com.sun.javafx.collections. So I need to add it to the org.osgi.framework.system.packages.extra property but i dont know where to do that. I've tried nbm-maven-plugin/configuration/additionalArguments, maven-surefire-plugin/configuration/argLine, and maven-surefire-plugin/configuration/systemPropertyVariables all without success Log Messages: > Warning - could not install some modules: org.controlsfx - org.netbeans.InvalidException: Netigso: E:\Repository\moos-analyst-ui\terramenta-moos-application\target\terramenta_moos\terramenta_moos\modules\org-controlsfx.jar: Cannot start org.controlsfx state remains INSTALLED after start() > org.osgi.framework.BundleException: Unresolved constraint in bundle org.controlsfx [79]: Unable to resolve 79.0: missing requirement [79.0] osgi.wiring.package; (osgi.wiring.package=com.sun.javafx.collections) > at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) > at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) > at java.lang.Thread.run(Thread.java:745)