wisdom-framework / wisdom

A modular and dynamic web framework
http://wisdom-framework.org
Apache License 2.0
88 stars 42 forks source link

Automatically detect which dependencies should be added as libraries #568

Open Riduidel opened 7 years ago

Riduidel commented 7 years ago

According to wisdom documentation, using non-OSGi dependencies requires adding them as libraries to the generated bundle. Unfortunatly, we don't know beforehand if a dependency is a valid OSGi bundle or not. However, there are methods to detect such bundles. Typically, this StackOverflow answer provides a first-level solution. Could it be possible to detect which dependencies are valid as OSGi, and which are not, in order to automate the tag generation ?