Is there a way to get Maven to include in its logs the actual commands that were invoked to perform a particular operation? I'm having a problem where a javac invocation is failing and I'd like to see what maven was actually trying to do.
+2
A:
-X is the closest you will get. It's up to the plugin (compiler in this case) to log useful information. Maven will always log the values passed to the plugin, but here compiler calls off to JavaC and apparently it's not logging what you want.
Brian Fox
2009-05-08 21:51:19
A:
I'm not sure that it can log what you want. I think it calls the compiler directly, inside the same JVM. So there is no command line to show.
Dominic Mitchell
2009-05-11 16:08:43
That can't be the case, given the error message that I got, which was clearly an incorrect call to javac.
David
2009-05-17 12:56:37