在创建新的maven项目时,我收到这样的错误。
Could not get the value for parameter encoding for plugin execution default-resources
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved:
The following artifacts could not be resolved:
org.apache.maven:maven-project:jar:2.0.6,
org.apache.maven:maven-profile:jar:2.0.6,
org.apache.maven:maven-artifact-manager:jar:2.0.6,
org.apache.maven:maven-plugin-registry:jar:2.0.6,
org.apache.maven:maven-core:jar:2.0.6,
org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6,
org.apache.maven.reporting:maven-reporting-api:jar:2.0.6,
org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7,
org.apache.maven:maven-repository-metadata:jar:2.0.6,
org.apache.maven:maven-error-diagnostics:jar:2.0.6,
commons-cli:commons-cli:jar:1.0,
org.apache.maven:maven-plugin-descriptor:jar:2.0.6,
org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4,
classworlds:classworlds:jar:1.1,
org.apache.maven:maven-artifact:jar:2.0.6,
org.apache.maven:maven-settings:jar:2.0.6,
org.apache.maven:maven-model:jar:2.0.6,