To create an Activator and deploy it the easiest is to add org.apache.winegrower:winegrower-core in your pom.xml and decorate it with @Header and launch Ripener main:

package application;

import static org.osgi.framework.Constants.BUNDLE_ACTIVATOR;

import org.osgi.annotation.bundle.Header;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

@Header(name = BUNDLE_ACTIVATOR, value = "${@class}")
public class GettingStartedActivator implements BundleActivator {
    public void start(final BundleContext context) {
        System.out.println("Hello Winegrower");

    public void stop(final BundleContext context) {
        System.out.println("Bye Winegrower");

    public static void main(final String[] args) {