Just a follow up on this one:
I was able to successfully build the cassandra snap by injecting a maven settings.xml file containing the proxy definitions in build time. This was indeed the only way I could get the resolver-ant-tasks to use any proxy settings available.
As mentioned by cjwatson in the past, this may not be a general solution for this issue (see https://bugs.launchpad.net/launchpad-buildd/+bug/1702130/comments/9), but it does get our cassandra build to succeed.
Finally, and unrelated, the s390x builds are failing due to OOM errors, as in https://launchpadlibrarian.net/542224424/buildlog_snap_ubuntu_bionic_s390x_cassandra-test_BUILDING.txt.gz
A build sample is available at https://launchpad.net/~athos-ribeiro/+snap/cassandra-test/+build/1428615
Just a follow up on this one:
I was able to successfully build the cassandra snap by injecting a maven settings.xml file containing the proxy definitions in build time. This was indeed the only way I could get the resolver-ant-tasks to use any proxy settings available.
As mentioned by cjwatson in the past, this may not be a general solution for this issue (see https:/ /bugs.launchpad .net/launchpad- buildd/ +bug/1702130/ comments/ 9), but it does get our cassandra build to succeed.
Finally, and unrelated, the s390x builds are failing due to OOM errors, as in https:/ /launchpadlibra rian.net/ 542224424/ buildlog_ snap_ubuntu_ bionic_ s390x_cassandra -test_BUILDING. txt.gz
A build sample is available at https:/ /launchpad. net/~athos- ribeiro/ +snap/cassandra -test/+ build/1428615