jira-importer opened a new issue, #519:
URL: https://github.com/apache/maven-invoker-plugin/issues/519

   **[Zbigniew 
Lis](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zbilis)** 
opened 
**[MINVOKER-293](https://issues.apache.org/jira/browse/MINVOKER-293?redirect=false)**
 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:**
   - 
[maven-invoker-profile-inheritance.zip](https://issues.apache.org/jira/secure/attachment/13035213/maven-invoker-profile-inheritance.zip)
 (_6.03 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to