Hello, I have a setup with 2 parent poms, one being the parent of the other. I'm not able to run a plugin configuration (the configuration is not found) from command line if it's defined in the (first level) parent pom. But it does work if the configuration is defined in the "grandparent" pom.
Is it a bug, or designed to be like that? If it's designed to be like that, am I missing something to get the configuration defined in my parent pom to be recognized? Here is a sample project to reproduce https://github.com/guillaumecle/maven-configuration-test (test-cli-parent has the configuration for exec:exec but it's not found) mvn exec:exec > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] test-cli-grand-parent > [pom] > [INFO] test-cli-parent > [pom] > [INFO] test-cli-module1 > [jar] > [INFO] > [INFO] ----------------< bzh.guillaume:test-cli-grand-parent > >----------------- > [INFO] Building test-cli-grand-parent 0.0.1-SNAPSHOT > [1/3] > [INFO] --------------------------------[ pom > ]--------------------------------- > [INFO] > [INFO] --- exec-maven-plugin:3.0.0:exec (default-cli) @ > test-cli-grand-parent --- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for test-cli-parent 0.0.1-SNAPSHOT: > [INFO] > [INFO] test-cli-grand-parent .............................. FAILURE [ > 0.586 s] > [INFO] test-cli-parent .................................... SKIPPED > [INFO] test-cli-module1 ................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1.034 s > [INFO] Finished at: 2020-07-15T18:09:15-07:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project > test-cli-grand-parent: The parameter 'executable' is missing or invalid -> > [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Thank you,
