Description
bigtop_toolchain tries to download Maven 3.6.x from dlcdn.apache.org, but those versions are no longer published:
$ curl -L https://dlcdn.apache.org/maven/maven-3/?F=0 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /maven/maven-3</title> </head> <body> <h1>Index of /maven/maven-3</h1> <ul><li><a href="/maven/"> Parent Directory</a></li> <li><a href="3.8.8/"> 3.8.8/</a></li> <li><a href="3.9.2/"> 3.9.2/</a></li> </ul> </body></html>
Therefore running toolchain fails as follows:
$ git clone https://github.com/apache/bigtop.git $ cd bigtop $ sudo bigtop_toolchain/bin/puppetize.sh $ ./gradlew toolchain ... Error: /usr/bin/wget https://dlcdn.apache.org//maven/maven-3//binaries/apache-maven--bin.tar.gz returned 8 instead of one of [0] Notice: /Stage[main]/Bigtop_toolchain::Maven/Exec[Download Maven binaries signature]: Dependency Exec[Download Maven binaries] has failures: true Notice: /Stage[main]/Bigtop_toolchain::Maven/Exec[Verify Maven binaries signature]: Dependency Exec[Download Maven binaries] has failures: true Notice: /Stage[main]/Bigtop_toolchain::Maven/Exec[Extract Maven binaries]: Dependency Exec[Download Maven binaries] has failures: true Error: /Stage[main]/Bigtop_toolchain::Maven/Exec[Download Maven binaries]/returns: change from notrun to 0 failed: /usr/bin/wget https://dlcdn.apache.org//maven/maven-3//binaries/apache-maven--bin.tar.gz returned 8 instead of one of [0]
Upgrading Maven to 3.8.x probably works, but those versions also will be removed from dlcdn.apache.org someday, so I'd rather change the download site to archive.apache.org.