pom文件就是源码里面的那个

setting.xml:


<mirrors>

 

<mirror>

<id>alimaven</id>

<name>aliyun maven</name>

<url>http://maven.aliyun.com/nexus/content/groups/public/</url>

<mirrorOf>central</mirrorOf>

</mirror>

<mirror>

<id>mapr-public</id>

<mirrorOf>mapr-releases</mirrorOf>

<name>mapr-releases</name>

<url>https://maven.aliyun.com/repository/mapr-public</url>

</mirror>

<mirror>

  <id>ali maven</id>

  <name>aliyun maven</name>

  <url>https://maven.aliyun.com/repository/public/</url>

  <mirrorOf>central</mirrorOf>

</mirror>

<mirror>

  <id>ui</id>

  <mirrorOf>central</mirrorOf>

  <name>Human Readable Name for this Mirror.</name>

  <url>http://uk.maven.org/maven2/</url>

</mirror>

<mirror>

  <id>ibiblio</id>

  <mirrorOf>central</mirrorOf>

  <name>Human Readable Name for this Mirror.</name>

  <url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>

</mirror>




<mirror>

  <id>jboss-public-repository-group</id>

  <mirrorOf>central</mirrorOf>

  <name>JBoss Public Repository Group</name>

  <url>http://repository.jboss.org/nexus/content/groups/public</url>

</mirror>

<!--访问慢的网址放入到后面-->

<mirror>

  <id>CN</id>

  <name>OSChina Central</name>

  <url>http://maven.oschina.net/content/groups/public/</url>

  <mirrorOf>central</mirrorOf>

</mirror>

<mirror>

  <id>net-cn</id>

  <mirrorOf>central</mirrorOf>

  <name>Human Readable Name for this Mirror.</name>

  <url>http://maven.net.cn/content/groups/public/</url>

</mirror>

<mirror>

  <id>JBossJBPM</id>

  <mirrorOf>central</mirrorOf>

  <name>JBossJBPM Repository</name>

  <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>

</mirror>

  </mirrors>














在 2021-01-13 15:11:16,"Carmen Free" <[email protected]> 写道:
>建议你把Maven的settings.xml以及你项目的pom.xml也贴出来看看,大家才好帮你定位问题
>
>penguin. <[email protected]> 于2021年1月13日周三 下午2:25写道:
>
>> 贴不了图,我直接放文字吧
>>
>>
>>
>> ▼θSync: at 2021/1/13 12:05 with 18 errors
>>
>>    ▼Resolve dependencies 4 errors
>>
>>          Cannot resolve netminidev:json-smart:2.3
>>
>>          Cannot resolve io.confluent:kafka-schema-registry-client:4.1.0
>>
>>          Cannot resolve com.nimbusds:nimbus-jose-jwt:9.4.1
>>          Cannot resolve com.nimbusds:lang-tag:1.5
>>    ▼Resolve plugins 14 errors
>>         Cannot resolve plugin org.codehaus.mojo:build-helper-maven-plugin:
>> <unknown>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 在 2021-01-13 13:42:27,"Carmen Free" <[email protected]> 写道:
>> >hi,
>> >
>> >图看不见。
>> >
>> >penguin. <[email protected]> 于2021年1月13日周三 下午1:19写道:
>> >
>> >> 已经在maven的setting文件中配置了好几个镜像了,还是这样。如下图
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>>

回复