Converted to maven plugin