Changed Mojo configuration to remove warnings
Applied changes suggested by checkstyle