How to Write a Custom Plugin for Maven to Count Lines of Code?