TimHedger wrote:
OK, so now I'm using the exec-plugin instead of my own code - great.
But I've lost the control I had over when the exec step happened.
I am using the plugin to generate SOAP wrappers for some Java code using
glue (themindelectric). This step involves running a Java class with
certain parameters and it creates various xml files and a directory
structure, ready for packing into a war for distribution.
My problem is this is happening every time I compile using maven. I've lost
any control over checking whether source is stale and thus the soap/exec
step if nothing's changed since my last build.
How can I get this control with the exec plugin?
You can't, the exec plugin does not have that kind of knowledge.
I think the best way for you would be to write your own glue plugin that
just calls the main() method of the application after setting the system
properties.
--
Trygve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]