解决idea中maven拉不下jar包问题

[ERROR] Failed to execute goal on project tsets: Could not resolve dependencies for project test:test:jar:1.0-SNAPSHOT: Failure to find org.apache.spark:spark-sql_2.11:jar:2.2.0.cloudera1 in http://repository.xxxx/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]apache

mvn -U package

转载于:https://my.oschina.net/yx91490/blog/1809345maven