Skip to content

Next to hard-coded environment variables support ".env" files as well #1155

Open
@thahnen

Description

@thahnen

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Currently, we work with ".env" files managing our environment variables that should not be uploaded into Git. The plug-in cannot cope with it, and we have to run workaround scripts/commands around the actual Maven call. We want to run Maven without having to do this but for it to pick up the content of the ".env" files on its own.

If the current behavior is a bug, please provide the steps to reproduce.

%

What is the expected behavior?

Next to the environmentVariables configuration option, there is another one like environmentFile where the path to the ".env" file can be set. When the plug-in is running it is picked up and handled correctly.

Please mention your frontend-maven-plugin and operating system version.

Plug-in and OS independent.

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