Method of obtaining version with parameter
<p>I am looking for A method of obtaining the version of my project by invoking the main class with a "--version" parameter and have it dump the project version and exit. kind of like if you were to type java -version in the command line.</p>

<p>I understand that I would need something like, but do not understand the implementation of the method.</p>

<p><code>private final static String VERSION="0.1.0"</code></p>

<p>Any help would be great. Thank you</p>
