You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "AUrooj (Jira)" <ji...@apache.org> on 2020/04/19 20:32:00 UTC

[jira] [Created] (MASFRES-32) Environment variables .env file should execute along with maven commands

AUrooj created MASFRES-32:
-----------------------------

             Summary: Environment variables .env file should execute along with maven commands
                 Key: MASFRES-32
                 URL: https://issues.apache.org/jira/browse/MASFRES-32
             Project: Apache Maven Resource Bundles
          Issue Type: Improvement
          Components: apache-jar-resource-bundle
         Environment: Apache maven plugin for running the core commands.

 

```

mvn clean package

```
            Reporter: AUrooj


Currently, I'm not sure if the maven core support to run the environment variable file `.env` along with maven commands such as:

 
{code:java}
mvn clean install -DenvFilePath=/path/<filename>.env 
{code}
or 
{code:java}
mvn clean deploy -DenvFilePath=/path/<filename>.env{code}
It should execute the `.env` file and set all the environment variables before running the maven plugins such as *maven-surefire* for testing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)