The JBWS-CXF WSConsume tool always generates/write java classes for generated sources, even if -k option is not provided. Moreover, the sources are generated in the current dir, as that's the default value for the internal CXF impl. WSDLToJavaContainer does something like:
when the cxf -d option is not set.
So, we should be setting a temp dir for sources when -k is not provided and eventually cleanup the temp dir when returning control to the tool caller.