Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
None
-
None
-
None
-
Apache maven plugin for running the core commands such as:
{code:java}
mvn clean package
{code}
Description
Currently, I'm not sure if the maven core support to run the environment variable file `.env` along with maven commands such as:
mvn clean install -DenvFilePath=/path/<filename>.env
or
mvn clean deploy -DenvFilePath=/path/<filename>.env
It should execute the `.env` file and set all the environment variables before running the maven plugins such as maven-surefire for testing.