Class GaiaVersion

java.lang.Object
tools.pantheum.gaia.GaiaVersion

public final class GaiaVersion extends Object
Provides the product name, build version and timestamp of the Gaia library, sourced from gaia-version.properties which is populated at build time by Maven resource filtering (project.name, project.version, maven.build.timestamp).

Values are loaded once at class initialisation and cached. If the resource cannot be found (e.g. running unpackaged from an IDE without first running mvn process-resources), every field falls back to "unknown".

  • Field Details

    • NAME

      public static final String NAME
      Product name as declared by the pom's <name>, e.g. "Gaia". This is what every JSON document produced by GaiaJson reports as its product.
    • VERSION

      public static final String VERSION
      Library version, e.g. "1.0.0-SNAPSHOT" or "1.2.3".
    • TIMESTAMP

      public static final String TIMESTAMP
      ISO-8601 build timestamp, e.g. "2026-06-07T12:00:00Z".