Add pom generation with ivy to build-common
Include type in ivy patterns

Include the artifact type in the files produced by ivy:retrieve, the artifacts
produced by the build, and in the pattern for ivy:publish in order to
disambiguate different elements of the project and its dependencies.