update to use annotations in maven plugin