[ERROR] Failed to execute goal on project zepeto-admin: Could not resolve dependencies for project com.yiruike.admin:zepeto-admin:jar:1.0.-SNAPSHOT: Failure to find xuggle:xuggle-xuggler:jar:5.4 in http://10.35.33.29:8081/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-releases has elapsed or updates are forced -> [Help 1]

解决办法有两种:

1、命令行的方式(强制更新)

mvn clean install -U

2、修改maven配置文件settings.xml

添加<updatePolicy>always</updatePolicy>;

<repositories>
<repository>
<id>xr-snapshots</id>
<url>http://nexus.alibaba.com/repository/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<!-- 注意 -- >
<updatePolicy>always</updatePolicy>
</snapshots>
<releases>
<enabled>false</enabled>
<!-- 注意 -- >
<updatePolicy>always</updatePolicy>
</releases>
</repository>
</repositories> <pluginRepositories>
<pluginRepository>
<id>xr-plugins</id>
<name>xingren plugins</name>
<url>http://nexus.alibaba.com/repository/public/</url>
<releases>
<enabled>true</enabled>
<!-- 注意 -- >
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<!-- 注意 -- >
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
05-21 01:32