I have a Maven project that starts from the command line, and I planned to use mvn exec:java to run it from some scripts. This project can interact with various other projects in the plugin architecture, so I would like to indicate which plugin to load on the command line. Plugins are developed independently of the underlying code, so I would like to avoid referencing them in the main pom project, if at all possible.
It looks like the executableDependency from the exec configuration of the Maven plugin may be what I'm looking for, but it doesn't seem like I can specify this on the command line.
source share