public class Version extends Object
Determine version information from the artifact metadata. When the version cannot be determined, the
version 0.0.0-GA is used.
This class only uses classes provided by the Java Platform in order to be used without any further dependency.
Information is logged through Logger on purpose instead of any other logger.
This class provides a main class that can be executed to check the version manually (hence the reason it does not depend on any other class than the Java Platform):
java -cp target/pc-portlet-2.4.1.CR03-SNAPSHOT.jar org.gatein.pc.portlet.VersionCopyright © 2003-2021 GateIn. All Rights Reserved.