This plugin makes a new property ${version.osgi} available to your Maven project.
Simply add this plugin to your project/build/plugins POM element :
<plugin>
<groupId>com.jamesward</groupId>
<artifactId>osgi-version-maven-plugin</artifactId>
<version>0.1</version>
<executions>
<execution>
<phase>initialize</phase>
<goals><goal>osgi-version</goal></goals>
</execution>
</executions>
</plugin>
A new property ${version.osgi} will be exposed.
Run tests: ./mvnw test