Multiple markers 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: org.apache.maven:maven-plugin-api:jar:2.0.6, org.apache.maven:maven-project:jar:2.0.6, org.apache.maven:maven-core:jar:2.0.6, 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, org.apache.maven:maven-monitor:jar:2.0.6, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1, org.codehaus.plexus:plexus-utils:jar:2.0.5, org.apache.maven.shared:maven-filtering:jar:1.1, org.codehaus.plexus:plexus-interpolation:jar:1.13: org.apache.maven:maven-plugin-api:jar:2.0.6 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-plugin-api:jar:2.0.6 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. (org.apache.maven.plugins:maven-resources-plugin:2.6:testResources:default-testResources:process-test-resources)
I have created new spring starter project in SpringSuiteTool. I am getting this error when I created new spring starter project.
ArtifactTransferException: com.google.guava:guava:jar:10.0.1 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.guava:guava:jar:10.0.1 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. java.lang.reflect.InvocationTargetException
Go to {userdir}/.m2/repository/com/google/guava/guava, delete 10.0.1 folder and re build the project
New to maven and ubuntu. Maven version is 3.0.5. First i imported a maven project into eclipse and there were lot of maven dependency error. So i did maven clean install from pom.xml location using terminal and subsequent mvn install command from terminal build was successful. But if I import the project again and update project into eclipse I see 5 errors.
Maven configuration Problem:
Description Resource Path Location Type
Failure to transfer org.apache.maven.plugins:maven-war-plugin:pom:2.2 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-war-plugin:pom:2.2 from/to central (https://repo.maven.apache.org/maven2): connect timed out pom.xml /loga line"
Maven Problem
Description Resource Path Location Type
CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-plugin-api:jar:2.2.1, org.apache.maven:maven-artifact:jar:2.2.1, org.apache.maven:maven-core:jar:2.2.1, org.apache.maven:maven-settings:jar:2.2.1, org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1, org.apache.maven:maven-profile:jar:2.2.1, org.apache.maven:maven-model:jar:2.2.1, org.apache.maven:maven-repository-metadata:jar:2.2.1, org.apache.maven:maven-error-diagnostics:jar:2.2.1, org.apache.maven:maven-project:jar:2.2.1, org.apache.maven:maven-plugin-registry:jar:2.2.1, org.apache.maven:maven-plugin-descriptor:jar:2.2.1, org.apache.maven:maven-artifact-manager:jar:2.2.1, org.apache.maven:maven-monitor:jar:2.2.1, org.apache.maven:maven-toolchain:jar:2.2.1, org.codehaus.plexus:plexus-container-default:jar:1.5.5, org.codehaus.plexus:plexus-classworlds:jar:2.2.2: Failure to transfer org.apache.maven:maven-plugin-api:jar:2.2.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-plugin-api:jar:2.2.1 from/to central (https://repo.maven.apache.org/maven2): Connect timed out pom.xml /loga line 334 Maven Project Build Lifecycle Mapping Problem
Description Resource Path Location Type
CoreException: Could not get the value for parameter compilerId for plugin execution default-testCompile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-plugin-api:jar:2.2.1, org.apache.maven:maven-artifact:jar:2.2.1, org.apache.maven:maven-core:jar:2.2.1, org.apache.maven:maven-settings:jar:2.2.1, org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1, org.apache.maven:maven-profile:jar:2.2.1, org.apache.maven:maven-model:jar:2.2.1, org.apache.maven:maven-repository-metadata:jar:2.2.1, org.apache.maven:maven-error-diagnostics:jar:2.2.1, org.apache.maven:maven-project:jar:2.2.1, org.apache.maven:maven-plugin-registry:jar:2.2.1, org.apache.maven:maven-plugin-descriptor:jar:2.2.1, org.apache.maven:maven-artifact-manager:jar:2.2.1, org.apache.maven:maven-monitor:jar:2.2.1, org.apache.maven:maven-toolchain:jar:2.2.1, org.codehaus.plexus:plexus-container-default:jar:1.5.5, org.codehaus.plexus:plexus-classworlds:jar:2.2.2: Failure to transfer org.apache.maven:maven-plugin-api:jar:2.2.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-plugin-api:jar:2.2.1 from/to central (https://repo.maven.apache.org/maven2): Connect timed out pom.xml /loga line 334 Maven Project Build Lifecycle Mapping Problem
Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (execution: default-compile, phase: compile) pom.xml /loga line 334 Maven Project Build Lifecycle Mapping Problem
Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (execution: default-testCompile, phase: test-compile) pom.xml /loga line 334 Maven Project Build Lifecycle Mapping Problem
And if try to update maven project I get an error alert
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
Same project I imported in windows environment and there were no errors Where as in ubuntu i see above errors. I have spent 10 hours googling with out any solution. Any help appreciated.
i created my spring-maven project with spring and other dependencies in maven pom.xml file and the project has been build-ed and run successfully after some days i tried to update dependencies and build the project again this failure occurred !
any help please ?
Failure to transfer org.codehaus.plexus:plexus-archiver:jar:2.0.1 from http://repo.maven.apache.org/maven2 was cached in the local
repository, resolution will not be reattempted until the update
interval of central has elapsed or updates are forced. Original error:
Could not transfer artifact
org.codehaus.plexus:plexus-archiver:jar:2.0.1 from/to central
(http://repo.maven.apache.org/maven2): No response received after
60000 pom.xml /DeabrnyRack
updated:i found the solution in this thread as there is updated
versions of dependencies made conflict so i removed the
"plexus-archiver.lastupdated" link :
Maven error "Failure to transfer..."
ArtifactDescriptorException: Failed to read artifact descriptor for org.aspectj:aspectjrt:jar:1.6.10:
ArtifactResolutionException: Failure to transfer org.aspectj:aspectjrt:pom:1.6.10 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced.
Original error: Could not transfer artifact org.aspectj:aspectjrt:pom:1.6.10 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.
Or this:
Description Resource Path Location Type
The container 'Maven Dependencies' references non existing library C:\Users\...\\.m2\repository\org\springframework\spring-context\3.2.4.RELEASE\spring-context-3.2.4.RELEASE.jar p1 Build path Build Path Problem
And this:
Description Resource Path Location Type
The project cannot be built until build path errors are resolved p1 Unknown Java Problem
How to solve this maven problem?
I solve it by adding
central
Maven Repository Manager running on repo.mycompany.com
http://repo1.maven.apache.org/maven2
central