Class VersionInfo
java.lang.Object
com.erudika.para.core.utils.VersionInfo
Uses the generated class Version.java to display version information.
- Author:
- Alex Bogdanovski [[email protected]]
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the current artifact id from Maven.static StringgetGIT()Returns the Git repo starting with "scm:git:git" from Maven.static StringReturns the Git branch.static StringReturns the current group id from Maven.static StringReturns the current revision from Git.static StringReturns the current version from Maven.
-
Method Details
-
getVersion
-
getGroupId
-
getArtifactId
-
getRevision
-
getGIT
Returns the Git repo starting with "scm:git:git" from Maven.- Returns:
- repo string
-
getGITBranch
-