I have a multi project in maven like this:
paren-project
-> plugin-project
-> testbed-project
The plugin
project generates a JAR, which is manually copied to a specific subdirectory of testbed
(using whatever embedded script like groovy or ant). The important point: I don't want the plugin JAR to be in the classpath of testbed.
But I cannot found the solution to force the plugin project to be build BEFORE the testbed project. If I set the plugin project as dependency of the testbed project, it is added in the classpath.
Any solution, or do I have to switch to a build system like gradle, ivy or ant ?