Did you know that there are three ways in which you can create an OSGi bundle for Adobe CQ? The way that you choose is really a matter of preference. The three ways in which you can create an OSGi bundle are:
1- Using the Maven archetype plugin to build an OSGi bundle. For information, see http://scottsdigitalcommunity.blogspot.ca/2014/05/creating-your-first-aem-service-using.html.
2 - Using an Eclipse development plug-in. For information, see http://scottsdigitalcommunity.blogspot.ca/2012/07/creating-custom-cq-email-services.html.
NOTE: You can use Maven to automatically deploy an OSGi bundle to Adobe CQ when building a package using a Maven command. For information, see http://scottsdigitalcommunity.blogspot.ca/2013/03/creating-adobe-cq-shopping-cart.html.
Adobe Digital Marketing Cloud
Follow the Digital Marketing Customer Care team on Twitter @AdobeMktgCare or visit Adobe Marketing Cloud Help & Support.