Eclipse配置了MAVEN,但是MAVEN工程无法拉去依赖包
Multipleannotationsfoundatthisline:-Executiondefault-testResourcesofgoalorg.apache.ma...
Multiple annotations found at this line:
- Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:testResources failed: 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: junit:junit:jar:3.8.1, org.codehaus.plexus:plexus-utils:jar:2.0.5, org.apache.maven.shared:maven-filtering:jar:1.1,
org.sonatype.plexus:plexus-build-api:jar:0.0.4, org.codehaus.plexus:plexus-interpolation:jar:1.13: Failure to transfer junit:junit:jar:3.8.1 from
mirrors.ibiblio.org/maven2/): Connection reset (org.apache.maven.plugins:maven-resources-plugin:2.6:testResources:default-
testResources:process-test-resources)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(execution: default-testCompile, phase: test-compile)
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its
mirrors.ibiblio.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has
elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from/
maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has elapsed or updates
mirrors.ibiblio.org/maven2/): Connection reset
cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has elapsed or updates are forced.
Connection reset
maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has elapsed or updates
mirrors.ibiblio.org/maven2/): Connection reset
- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: 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: junit:junit:jar:3.8.1, org.codehaus.plexus:plexus-utils:jar:2.0.5, org.apache.maven.shared:maven-filtering:jar:1.1,
org.sonatype.plexus:plexus-build-api:jar:0.0.4, org.codehaus.plexus:plexus-interpolation:jar:1.13: Failure to transfer junit:junit:jar:3.8.1 from
mirrors.ibiblio.org/maven2/): Connection reset (org.apache.maven.plugins:maven-resources-plugin:2.6:resources:default-
resources:process-resources)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(execution: default-compile, phase: compile) 展开
- Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:testResources failed: 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: junit:junit:jar:3.8.1, org.codehaus.plexus:plexus-utils:jar:2.0.5, org.apache.maven.shared:maven-filtering:jar:1.1,
org.sonatype.plexus:plexus-build-api:jar:0.0.4, org.codehaus.plexus:plexus-interpolation:jar:1.13: Failure to transfer junit:junit:jar:3.8.1 from
mirrors.ibiblio.org/maven2/): Connection reset (org.apache.maven.plugins:maven-resources-plugin:2.6:testResources:default-
testResources:process-test-resources)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(execution: default-testCompile, phase: test-compile)
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its
mirrors.ibiblio.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has
elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from/
maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has elapsed or updates
mirrors.ibiblio.org/maven2/): Connection reset
cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has elapsed or updates are forced.
Connection reset
maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of ibiblio has elapsed or updates
mirrors.ibiblio.org/maven2/): Connection reset
- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: 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: junit:junit:jar:3.8.1, org.codehaus.plexus:plexus-utils:jar:2.0.5, org.apache.maven.shared:maven-filtering:jar:1.1,
org.sonatype.plexus:plexus-build-api:jar:0.0.4, org.codehaus.plexus:plexus-interpolation:jar:1.13: Failure to transfer junit:junit:jar:3.8.1 from
mirrors.ibiblio.org/maven2/): Connection reset (org.apache.maven.plugins:maven-resources-plugin:2.6:resources:default-
resources:process-resources)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(execution: default-compile, phase: compile) 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询