Hi.
I've a library that I built under Maven 1.
It provides an ant task which does a bunch of code generation.
Under maven 1 I was able to test the ant task during the test goal by
running the task in a pre-goal and ensuring the output was dumped
somewhere that it was able to be found and used during the rest of the
testing.
In fact as far as I can tell under Maven 2 I can not just run the ant
task and have it generate to something like target/src/java, and have
the compilation steps find that new source path. This is ok because I
figured I might as well add a Maven 2 plugin which provides the code
generation functionality.
This led me to testing the new plugin and the question of "how?".
I want to be able to compile the plugin, use it to generate some source,
then compile the source and run it through some tests.
Is this at all possible? I get the impression it might not be - at this
time it seems I have to have the plugin installed/available as maven
starts up - otherwise it'll have a fit.
It almost seems I need another module which provides the plugin and to
have compiled+installed that module first?
Any hints?
How are other people testing their plugins?
Thanks for any help,
James.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]