...
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.
To mark a project as being a Sling bundle, right click it in the Project Explorer and Select Configure -> Convert to Sling Bundle Project... . A dialog will appear with all the candidate Sling bundle project from the workspace so that you can quickly select multiple projects.
Image Added
The final step is to open the Servers view and use the Add and Remove... dialog to add the newly created modules to the server.
Image Added
After OSGi bundle projects are deployed, each change will cause the bundle to be redeployed on the server.
Troubleshooting
Gathering debug information
...