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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
-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.