- In the root folder of your module, create a META-INF folder.
- In the META-INF folder, create a manifest file MANIFEST.MF.
Add at least the following two headers to the MANIFEST.MF manifest file:
IntelliJ IDEA will now recognize the Osmorc facet for the module and will propose to add it. Confirm the addition.
Now you can start working on your OSGI application. Change your manifest files to export and import packages and Osmorc will create corresponding dependencies between the IntelliJ IDEA modules.
You may also want to take a look at the Settings-part of this documentation to learn how to define and use framework instances.