Skip to content

Support .env file with maven commands #2

@d3minem

Description

@d3minem

It would be awesome, if you can also provide the support to execute the .env file along with maven commands. So in other-words, it would be like this format:

mvn clean install -DenvFile=/path/dev.env

and you don't need to specify the individual environment variables in pom.xml. It will execute .env file in the maven context and that would be awesome!

However, I've seen your example of maven for this extension which use environment variable in java. I can achieve the same with spring profiles and configuration properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions