Added new method to detect maven plugin presence.