Could not get the value for parameter encoding for plugin execution default-resourcesPlugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failure to find org.codehaus.plexus:plexus-utils:jar:1.1 in http://nexusserver:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of mirr...
was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced ->
This is often a false positive. Imagine you have a connection issue lasting only 5 seconds when Maven 3 tries to download a dependency, it will mark this dependency as unavailable for a delay. And thus will prevent you from replaying the build command even if the network issue is fixed.
Just run the command with the -U option. Even if its description applies to snapshots, it seems to also fix the error if it occurred on a release.
Example: mvn -U clean package
1万+




被折叠的 条评论
为什么被折叠?



