Uploaded image for project: 'Buildmetadata Maven Plugin'
  1. Buildmetadata Maven Plugin
  2. BMMP-53

Metadata about Java runtime and OS

    XMLWordPrintable

Details

    Description

      The information about the Java runtime of the build and the operating system (OS) the build is run on, is provided by environment variables. For security reasons variables are often switched off so that no information about the java runtime and os is in the build.properties or the build report.

      To change this, two flags should be added that default to 'true':
      1. addJavaRuntimeInfo
      execution.property.java.runtime.name
      e.g. Java(TM) SE Runtime Environment
      execution.property.java.runtime.version
      e.g 1.6.0_20-b02
      execution.property.java.vendor
      e.g. Sun Microsystems Inc.
      execution.property.java.vm.name
      e.g. Java HotSpot(TM) 64-Bit Server VM
      execution.property.sun.management.compiler
      e.g. HotSpot 64-Bit Server Compiler
      2. addOsInfo
      execution.property.os.arch
      e.g. amd64
      execution.property.os.name
      e.g. Windows 7
      execution.property.os.version
      e.g. 6.1

      Attachments

        Activity

          People

            robert.reiner Robert Reiner
            robert.reiner Robert Reiner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: