Package org.apache.druid.server
Class BuildInfo
java.lang.Object
org.apache.druid.server.BuildInfo
Utility class for reading build metadata from the JAR manifest.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReads theBuild-Revisionattribute from theMETA-INF/MANIFEST.MFof the JAR that contains this class.
-
Method Details
-
getBuildRevision
Reads theBuild-Revisionattribute from theMETA-INF/MANIFEST.MFof the JAR that contains this class. Returns an empty string when running outside a packaged JAR (e.g., duringmvn test).
-