What to do when idea Maven package appears could not find artifact xxxxx!

Could not find artifact XXXXX
Maven reports the Could Not transfer artifact error
The general solutions are:
The IDEA of setting -> Build, Execution, Deployment and Build Tools – Maven – Runner
Find THE VM Options: Add the following code

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

Read More: