Code Completion of pom.xml in IDEA

IDEA中pom.xml没有代码提示?

检查maven settings.xml 中镜像的配置(需要指定mirrorOf),正确配置如下:

<mirror>
	<id>alimaven</id>
	<name>aliyun maven</name>
	<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
	<mirrorOf>central</mirrorOf>        
</mirror>

多谢@intellijidea

Avatar
Xu Zili
Student

To be 高级睡眠者.

comments powered by Disqus