Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

santiagozky/baselining-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: Recently, I found this project https://github.com/code-distillery/baselining-maven-plugin which does exactly the same as this plugin. It also works fine in most Maven versions. Because of this I recommend you to use that instead. I probably wont develop this any further.

baselining-plugin

This is a maven plugin that helps you enforcing semantic versioning as recommended by OSGi, Requires maven 3.1.0

If you need support for a maven version lower than 3.1.0, please check the maven-3.0-compatibility branch.

A simple configuration would look like this

 <plugin>
     <groupId>com.santiagozky.baselining</groupId>
     <artifactId>baselining-plugin</artifactId>
     <version>1.0.0-SNAPSHOT</version>
		 <executions>
			    <execution>
			        <id>execution1</id>
			        <phase>verify</phase>
					  	<configuration>
						        <strict>true</strict>
						  </configuration>
			        <goals>
			           <goal>baseline</goal>
			         </goals>
			     </execution>
			</executions>
</plugin>

If the strict option is true, the build will fail if a package or the bundle have a version that is lower than the recommended

This software is covered by the Apache license v2. See the LICENSE file for more information.

About

maven plugin that enforces semantic versioning using bnd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages