...
The only requirement for bundle projects is that they are Java projects which generate an exploded OSGi bundle in their output directory. That requires at least a valid OSGi Manifest located in META-INF/MANIFEST.MF, but typically one of more Java classes. Other auxiliary files, such as Declarative Service descriptors, must also be placed under the project's output directory.
Creating a new bundle project
Creating a new Sling bundle project is easily done by using the new Sling Bundle Project Wizard. This wizard is only available when the Maven-based integration is installed. To kick off, start by selected File -> New -> Project and select Sling Bundle Project under the Sling category.
Image Added
The next page allows you to select the archetype to use. It's recommended to select the latest version of the archetype.
Image Added
You will be asked to configure the archetype's properties.
Image Added
Finally, you can select whether to add the project to an existing server or create a new one.
Image Added
Once you press finish, the project will be created and deployed to the server.
Converting existing projects
...