Update pom to fix compilation issues

I was not able to compile the foo plugin as is, so took time to fix some of the pom issues to make it work.