Fixing pom.xml to allow compiling.
1) Added repository tag.
2) Added version ids to dependencies.
3) Fixed version ids for plugins.
4) Fixed deprecated use of ${artifactId}.
5) Fixed deprecated use ${version}