Apache Maven Access Maven informations in code


Introduction

It is sometimes useful to get the maven properties, such as the current version, in code. Here are some ways to to it.