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

Semantic versioning


A key aspect of OSGi bundles and packages is that they are versioned using semantic versioning. This encodes compatibility into the version number so that clients can select an appropriately versioned component to build against or bind to.

Semantic versioning breaks down a number such as 1.2.3.RELEASE into the following four parts:

  • Major version: This is a number that indicates the major release (1)

  • Minor version: This is a number that indicates the minor release (2)

  • Micro (or patch) version: This is a number that indicates the micro (patch) release (3)

  • Qualifier: This is a textual string that indicates the patch (RELEASE)

This version numbering scheme is used by every Java JAR in Maven Central and can be used to determine whether or not upgrading to a later version will be compatible. Numbers default to 0 if they are not specified, and the qualifier defaults to an empty string. In OSGi, numbers are sorted numerically and the qualifier is sorted alphabetically.

Changes in...