Examples of convertToOsgi()


Examples of org.glassfish.hk2.maven.Version.convertToOsgi()

    protected String versionPropertyName;

    @Override
    public void execute() throws MojoExecutionException, MojoFailureException {
        Version projectVersion = new Version(project.getVersion());
        String v = projectVersion.convertToOsgi(dropVersionComponent);
        getLog().debug("OSGi Version for "+project.getVersion()+" is "+v);
        getLog().debug("It is set in project property called "+ versionPropertyName);
        project.getProperties().put(versionPropertyName,v);
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.