This is not really possible. What I did in the past to work around this should hopefully work for you:
Create a plugin that is a shell around an interface. Then create an impl of this interface and build that in your multimodule build (because it presumably has code specific to the current build). Then where you use this plugin, add the impl as a <dependency> inside your <plugin> block. You can make it a plexus component to get injected or just do something like class.forName to get it working quickly. In this way, the plugin shell is available for maven at startup, but the actual code executed can be injected just before runtime. -----Original Message----- From: Daniel van Mil [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 8:33 AM To: users@maven.apache.org Subject: Pre-build own maven plugin Hello, Is it possible to "pre-build" a plugin we want to use in our own build in maven ? It should even be available in the clean phase of the lifecycle of the very first build. We want to clean/build the whole project in one build, including our own maven plugins, but maven reports the plugin cannot be found (seems logical) What is the normal procedure to do this ? Thanks ! Greetings, _____________________________________________________________ Daniel van Mil Software architect GX open for business t: 024 - 388 82 61 f: 024 - 388 86 21 e: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> Wijchenseweg 111 6538 SW Nijmegen www.gx.nl<http://www.gx.nl> KvK: 10044410 Greetings, _____________________________________________________________ Daniel van Mil Software architect GX open for business t: 024 - 388 82 61 f: 024 - 388 86 21 e: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> Wijchenseweg 111 6538 SW Nijmegen www.gx.nl<http://www.gx.nl> KvK: 10044410 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]