add ConfirmationMojo
code analysis cleanup