Package dev.frostlake
Class BuildInfo
java.lang.Object
dev.frostlake.BuildInfo
Exposes the build version, stamped in at package time by Maven resource filtering
(
frostlake-version.properties carries version=${project.version}). It therefore always
matches the built artifact's version. Falls back to FALLBACK_VERSION when the filtered resource
is absent or unresolved (e.g. running from sources that were never processed through Maven).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringShown when no filtered version resource is on the classpath. -
Method Summary
-
Field Details
-
FALLBACK_VERSION
Shown when no filtered version resource is on the classpath.- See Also:
-
-
Method Details
-
version
The build version (e.g."0.1.0-SNAPSHOT"), orFALLBACK_VERSIONif it cannot be read.
-