added maven plugin with logging