Re: The bundle "xxx" could not be resolved. Reason: Missing Constraint: Import-Package...

2018-03-19 Thread Christian Bourque
Hi Emilian, You're right! After doing some research I found out that the JCraft dependency isn't working because it's not OSGi compliant! But I found an alternative JCraft artifact that is repackaged by Apache especially for OSGi purposes: https://mvnrepository.com/artifact/org.apache.servicemix.

Re: The bundle "xxx" could not be resolved. Reason: Missing Constraint: Import-Package...

2018-03-18 Thread Emilian Bold
> [...] before it was declared as a "Require-Bundle" and now it's under > "Import-Package": > And I don't know why yet but NetBeans doesn't seem to like it?! Well, this is the OSGI layer. I can't find the actual documentation but on this old wiki I don't see Import-Package mentioned: http://wiki

Re: The bundle "xxx" could not be resolved. Reason: Missing Constraint: Import-Package...

2018-03-18 Thread Christian Bourque
After digging some more I found out that this requirement is actually coming from JGit itself! And it seems that the com.jcraft.jsch dependency has been changed in JGit 4.5, before it was declared as a "Require-Bundle" and now it's under "Import-Package": https://github.com/eclipse/jgit/commit/e2

The bundle "xxx" could not be resolved. Reason: Missing Constraint: Import-Package...

2018-03-17 Thread Christian Bourque
Hey guys, Could someone please tell me what could the source of this error (I updated the Eclipse JGit library to the latest version, fixed the code and rebuilt NetBeans but now I get this error when starting it): org.osgi.framework.BundleException: The bundle "org.eclipse.jgit_4.11.0.20180308074