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

Use enforcer plugin to print JVM info in maven output

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0, 1.7.0
    • build
    • None

    Description

      This is a little nice-to-have. We currently dump OS info using os-maven-plugin. Since we build on multiple JVM environments, would be nice to add that info too. Looking around, there wasn't an obvious source of this information, until I realized it's readily available via enforcer:display-info. Should add this to the top-level pom, if we can get it to run just once/build instead of with every module.

      [INFO] --- maven-enforcer-plugin:3.0.0-M2:display-info (default-cli) @ hbase-archetype-builder ---
      [INFO] Maven Version: 3.6.3
      [INFO] JDK Version: 1.8.0_222 normalized as: 1.8.0-222
      [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.14.6
      [INFO] ------------------------------------------------------------------------
      
      [INFO] --- maven-enforcer-plugin:3.0.0-M2:display-info (default-cli) @ hbase-archetype-builder ---
      [INFO] Maven Version: 3.6.3
      [INFO] JDK Version: 11.0.4 normalized as: 11.0.4
      [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.14.6
      [INFO] ------------------------------------------------------------------------
      

      Attachments

        Activity

          People

            ndimiduk Nick Dimiduk
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: