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 String
Returns the current artifact id from Maven.static String
getGIT()
Returns the Git repo starting with "scm:git:git" from Maven.static String
Returns the Git branch.static String
Returns the current group id from Maven.static String
Returns the current revision from Git.static String
Returns the current version from Maven.
-
Method Details
-
getVersion
Returns the current version from Maven.- Returns:
- version string
-
getGroupId
Returns the current group id from Maven.- Returns:
- id string
-
getArtifactId
Returns the current artifact id from Maven.- Returns:
- id string
-
getRevision
Returns the current revision from Git.- Returns:
- version string
-
getGIT
Returns the Git repo starting with "scm:git:git" from Maven.- Returns:
- repo string
-
getGITBranch
Returns the Git branch.- Returns:
- git branch name
-