Book Image

Mastering Eclipse Plug-in Development

By : Alex Blewitt, Bandlem Limited
Book Image

Mastering Eclipse Plug-in Development

By: Alex Blewitt, Bandlem Limited

Overview of this book

Table of Contents (18 chapters)
Mastering Eclipse Plug-in Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Plugging in to JFace and the Common Navigator Framework
Index

Baselining and automatic versioning


There are several different implementations that allow version numbers to be automatically incremented. At its simplest, maven-release-plugin allows the micro version to be incremented on each release, with the expectation that the developer team will take care of incrementing minor and major version numbers as appropriate.

For automated semantic versioning, there has to be a way of performing a comparison against the prior release in order to know whether the public API has changed in any significant way. This generally takes one of two forms: either the version being built has to be compared against a "last known built" JAR or the latest version needs to be acquired from a repository automatically.

These versions are known as baselines, and the mechanism to acquire or refer to them is tool-specific. However, the general principle involves setting a baseline (if it can't be acquired automatically) and then, after each build, comparing the build with the...