-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
None
-
None
-
None
-
-
None
-
None
-
None
-
None
-
None
- 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.