Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28306

Add property to customize Version information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0, 2.5.8, 3.0.0-beta-2
    • None
    • None
    • Hide
      Added a new build property -Dversioninfo.version which can be used to influence the generated Version.java class in custom build scenarios. The version specified will show up in the HMaster UI and also have implications on various version-related checks. This is an advanced usage property and it's recommended not to stray too far from the default format of major.minor.patch-suffix.
      Show
      Added a new build property -Dversioninfo.version which can be used to influence the generated Version.java class in custom build scenarios. The version specified will show up in the HMaster UI and also have implications on various version-related checks. This is an advanced usage property and it's recommended not to stray too far from the default format of major.minor.patch-suffix.

    Description

      In hbase-common we generate Version.java using the ${project.version} property. In some custom builds, it may be necessary to override the project version. The custom version may not be compatible with how Version works, or the user may want to add extra metadata (like a build number). We can add a property which defaults to ${project.version} but allows the user to specify separately if desired.

      Attachments

        Issue Links

          Activity

            People

              bbeaudreault Bryan Beaudreault
              bbeaudreault Bryan Beaudreault
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: