Package

za.co.absa.commons

buildinfo

Permalink

package buildinfo

Visibility
  1. Public
  2. All

Type Members

  1. abstract class BuildInfo extends AnyRef

    Permalink
  2. case class PropMapping(version: String = "build.version", timestamp: String = "build.timestamp") extends Product with Serializable

    Permalink

    Build Info Property mapping

Value Members

  1. object BuildInfo extends BuildInfo

    Permalink

    A singleton that holds the project build version info taken from the build.properties file.

    A singleton that holds the project build version info taken from the build.properties file.

    It's particularly convenient for Maven-based projects. Just copy 'build.properties.template' file to your classpath (without 'template' suffix) and enable Maven resource filtering.

    If BuildInfo defaults don't suit your project you can create your own instance and parametrize it in one of the following ways:

    object MyBuildInfo extend BuildInfo(...)

    or

    val myBuildInfo = BuildInfo(...)
  2. object BuildInfoConst

    Permalink
  3. object PropMapping extends Serializable

    Permalink

Ungrouped