fix things which were probably broken from git merges. improve intergation-tests to actuall use the build gem. fixes #1990
follow changes in pom.xml to pom.rb