I\'m using Maven in the context of another build-tool (leiningen for Clojure, but this should not matter), and I would like to know how I would call a plugin like dependency:bui
Here's a better solution: use the Mojo-Executor library. It exposes a simple Java API for invoking Maven plugins.