On Sat, 15 Jul 2006, Tim Kettler wrote: Hi,
This is exactly what plugins are for. I suggest you write a small plugin - a simple Mojo that calls your custom java code should do the trick. See http://maven.apache.org/guides/plugin/guide-java-plugin-development.html -- Kenney > Hi, > > perhaps the exec-maven-plugin [1] is what you want? > > -Tim > > [1] http://mojo.codehaus.org/exec-maven-plugin/ > > Alexander Rau schrieb: > > Hi all, > > > > I need to run a custom java class for generating some stubs. How can I > > integrate something like that into a pom.xml ? This should be similar to > > the antrun plugin except that it's java code I want to execute. > > > > I've seen that it could be possible by using antrun itself, however a > > more cleaner way would be nice. > > > > Tnx in advance > > > > > > Alex > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
