项目本地打包报错
[ERROR] Failed to execute goal on project people-in-and-out: Could not resolve dependencies for project com.xhwl:people-in-and-out:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:jar:1.0, ch.netzwerg:paleo-core:jar:0.11.0: Could not find artifact nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:jar:1.0 in central (https://repo.maven.apache.org/maven2)
原因:
maven仓库没有这个包
解决办法:
maven的setting文件中添加阿里镜像:
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>https://maven.aliyun.com/repository/jcenter</url>
</mirror>