Public bug reported: I was building cyanogenmod 13 for my Blu Studio G2. First, I ran lunch cm_d5170_blu_gmo-userdebug, this told the source code to build for cm_d5170_blu_gmo-userdebug whenever a command like make or something similar was ran. Then, I ran brunch cm_d5170_blu_gmo-userdebug, this ran the make command on the source code. The command gave this error output when it had to run maven (I was expecting this to download whatever the command wanted): -------------------------------------------------------------------------------------------------- [ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-plugins:pom:27 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/27/maven-plugins-27.pom: Received fatal alert: protocol_version -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException --------------------------------------------------------------------------------------------------
Ubuntu Version: Ubuntu Focal Fossa (20.04 LTS) maven: Installed: 3.6.3-1 Candidate: 3.6.3-1 Version table: *** 3.6.3-1 500 500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: maven 3.6.3-1 ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8 Uname: Linux 5.4.0-12-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.20.11-0ubuntu16 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Mon Feb 10 21:33:38 2020 InstallationDate: Installed on 2020-01-27 (14 days ago) InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 (20190227) PackageArchitecture: all ProcEnviron: PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: maven UpgradeStatus: Upgraded to focal on 2020-02-09 (1 days ago) ** Affects: maven (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862716 Title: maven is not able to resolve dependencies and is not able to read or transfer artifacts while building android source code (cyanogenmod 13) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maven/+bug/1862716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs