Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-8896

Enhance Maven Task to support optional ENV_VARS parameter.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Pipelines
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Proposed title of this feature request

       --> Enhance Maven Task to support optional ENV_VARS parameter in a similar way as it is  done in s2i-java task.

      2. What is the nature and description of the request?

      --> The request is to implement a new optional parameter named ENV_VARS for the Maven build Task. This parameter should accept an array of strings formatted as KEY=VALUE pairs. 
      params:

      • name: ENV_VARS
        value:
      • MAVEN_LOCAL_REPO=/tmp/src/m2_cache
      • MAVEN_MIRROR_URL=<mirror-url>
      • MAVEN_MIRROR_OF=central

      3. Why does the customer need this? (List the business requirements here

      --> It is needed to set extra environment variables for maven, they are using these ones for example, but any other MAVEN environment variable could be useful:
      ENV_VARS:

      • MAVEN_MIRROR_OF=central
      • MAVEN_LOCAL_REPO=/tmp/src/m2_cache
      • MAVEN_CLEAR_REPO=true

      4. List any affected packages or components.

      --> It shouldn't affect anything at all if ENV_VARS parameter is made optional.

              rh-ee-ssadeghi Siamak Sadeghianfar
              rhn-support-smahadik Sakshi Mahadik
              None
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                None
                None