change output into a maven plugin