What I have is the need to use a Groovy script or Maven plugin to generate a jar before compile time and then install it to the local repository so it can be used in the compile process (ie the depend will be satisfied by the build process and not downloaded through any external repos). I have got as far as using a groovy script to create this jar before the compiling / dependency resolution begins.What I have is the need to use a Groovy script