The problem appears to be solved by changing the final line of debian/libwagon2-java.poms to read:
wagon-tcks/wagon-tck-http/pom.xml --has-package-version --usj-name =wagon-tck-http-2.x -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1178977 Title: package libwagon2-java (not installed) failed to install/upgrade: trying to overwrite '/usr/share/java/wagon-tck-http.jar', which is also in package libwagon-java 1.0.0-2ubuntu2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wagon2/+bug/1178977/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs