Some packages not in central repository failed to download, error:
Could not resolve dependencies for project xxx
Some packages not in central repository failed to download, error:
Could not resolve dependencies for project xxx
Please check the mirror part of Maven installation directory libexec/conf/settings.xml:
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
Check whether the value of mirrorOf
is configured to *
. If it is, change it to central
or *,!SparkPackagesRepo,!bintray-streamnative-maven
.
Reason: There are two dependency packages in Exchange's pom.xml
that are not in Maven's central repository. pom.xml
configures the repository address for these two dependencies. If the mirrorOf
value for the mirror address configured in Maven is *
, all dependencies will be downloaded from the Central repository, causing the download to fail.