Maven problem and resolution record

1. An error is reported in the process of generating documents: Unable to determine if resource junit:junit:jar:3.8.1:test exists in http://maven.aliyun.com/nexus/content/groups/public


Version: 3.6.3
First of all, the document has been generated once, but an error was reported before:

-----------------------------------------------------------------------
[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.

Then after modifying the pom.xml to add the version of maven-site-plugin, the problem disappeared.
However, the following problems occurred.

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

Guess you like

Origin blog.csdn.net/qq_42658739/article/details/107948557