Skip to content

[MINVOKER-293] Profiles are passed to invoked executions #519

@jira-importer

Description

@jira-importer

Zbigniew Lis opened MINVOKER-293 and commented

If you run "mvn generate-resources -PmyProfile" on a project that uses maven-invoker-plugin, then myProfile is passed to whatever execution you have configured in this plugin in addition to what is configured in plugin configuration, or in invoker.properties file.

To reproduce it using attached project: if you run "mvn generate-resources -PmyProfile" on "maven-invoker-profile-inheritance" project, then you'll see that the profile is being activated in the "maven-invoker-profile-inheritance-dependency" project (and in result the echo-maven-plugin will be executed) I couldn't find a way to prevent this behavior.


Affects: 3.0.1, 3.2.2

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions