Maven问题与解决记录

一、生成文档过程中报错: Unable to determine if resource junit:junit:jar:3.8.1:test exists in http://maven.aliyun.com/nexus/content/groups/public


版本:3.6.3
首先,已经生成过一次文档了,但是之前报错:

-----------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project consumerBanking: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.3:site failed: A required class was missing while executing org.apache.maven.plugins:maven-site-plugin:3.3:site: org/apache/maven/doxia/siterenderer/DocumentContent
.....
To see the full stack trace of the errors, re-run Maven with the -e switch.

然后修改pom.xml添加 maven-site-plugin 的版本之后,这个问题消失。
但是出现了如下问题。

Unable to determine if resource junit:junit:jar:3.8.1:test exists in http://maven.aliyun.com/nexus/content/groups/public

猜你喜欢

转载自blog.csdn.net/qq_42658739/article/details/107948557