How to resolve this problem?
Cannot resolve plugin org.apache.maven.plugins:maven-site-plugin:3.12.1
Try to run Maven import with -U
flag (force update snapshots)
Photo1:
Photo2:
@romanv-jb's answer worked for me.
For those not familiar with Maven:
Navigate to the location of the problem version of maven-site-plugin in your local .m2 repository.
Ex: ${YOUR_USER_DIR}/.m2/repository/org/apache/maven/plugins/maven-site-plugin/3.12.1/
Delete maven-site-plugin-3.12.1.pom.lastUpdated
In IntelliJ, navigate to the Maven tool window tab and select "Reload All Maven Projects".
Reload All Maven Projects referece pic
Executing mvn clean install
from your projects root directory should work the same as step 3 but I'm just showing what I did to fix the problem with the specific maven-site-plugin version in the OP.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With