Zbigniew Lis created MINVOKER-293: ------------------------------------- Summary: Profiles are passed to invoked executions Key: MINVOKER-293 URL: https://issues.apache.org/jira/browse/MINVOKER-293 Project: Maven Invoker Plugin Issue Type: Bug Affects Versions: 3.2.2, 3.0.1 Reporter: Zbigniew Lis Attachments: maven-invoker-profile-inheritance.zip
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. -- This message was sent by Atlassian Jira (v8.3.4#803005)