title: Maven Failed to Find dependency
body: <p>I am using Maven Version 3.1.1.  And I am trying to compile with dependency springs-ws.  I see that this should exist in Maven via the following sites:<br/>
  <a href="http://mvnrepository.com/artifact/org.springframework.ws/spring-ws/2.1.4.RELEASE">Maven Repository</a><br/>
  <a href="http://search.maven.org/#artifactdetails%7Corg.springframework.ws%7Cspring-ws%7C2.1.4.RELEASE%7Cpom">Maven Search</a><br/></p>
  
  <p>Here is the Stack Trace from a "mvn compile -e":<br/></p>
  
  <pre><code>&gt;mvn compile -e
  [INFO] Error stacktraces are turned on.
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building Test 1.0.0
  [INFO] ------------------------------------------------------------------------
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.233s
  [INFO] Finished at: Tue Dec 10 13:44:36 CST 2013
  [INFO] Final Memory: 6M/122M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project Test: Could not resolve depe
  ndencies for project Test:Test:jar:1.0.0: Failure to find org.spri
  ngframework.ws:spring-ws:jar:2.1.4.RELEASE in http://repo.maven.apache.org/maven
  2 was cached in the local repository, resolution will not be reattempted until t
  he update interval of central has elapsed or updates are forced -&gt; [Help 1]
  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
  n project Test: Could not resolve dependencies for project Test:Co
  rrectAddress:jar:1.0.0: Failure to find org.springframework.ws:spring-ws:jar:2.1
  .4.RELEASE in http://repo.maven.apache.org/maven2 was cached in the local reposi
  tory, resolution will not be reattempted until the update interval of central ha
  s elapsed or updates are forced
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDe
  pendencies(LifecycleDependencyResolver.java:220)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resol
  veProjectDependencies(LifecycleDependencyResolver.java:127)
          at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAr
  eResolved(MojoExecutor.java:257)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:200)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
  ct(LifecycleModuleBuilder.java:84)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
  ct(LifecycleModuleBuilder.java:59)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
  ild(LifecycleStarter.java:183)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
  eStarter.java:161)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
  cher.java:289)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
  a:229)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
  uncher.java:415)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
  356)
  Caused by: org.apache.maven.project.DependencyResolutionException: Could not res
  olve dependencies for project Test:Test:jar:1.0.0: Failure to find
   org.springframework.ws:spring-ws:jar:2.1.4.RELEASE in http://repo.maven.apache.
  org/maven2 was cached in the local repository, resolution will not be reattempte
  d until the update interval of central has elapsed or updates are forced
          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(D
  efaultProjectDependenciesResolver.java:198)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDe
  pendencies(LifecycleDependencyResolver.java:195)
          ... 22 more
  Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure
  to find org.springframework.ws:spring-ws:jar:2.1.4.RELEASE in http://repo.maven.
  apache.org/maven2 was cached in the local repository, resolution will not be rea
  ttempted until the update interval of central has elapsed or updates are forced
          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDepen
  dencies(DefaultRepositorySystem.java:384)
          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(D
  efaultProjectDependenciesResolver.java:192)
          ... 23 more
  Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to
   find org.springframework.ws:spring-ws:jar:2.1.4.RELEASE in http://repo.maven.ap
  ache.org/maven2 was cached in the local repository, resolution will not be reatt
  empted until the update interval of central has elapsed or updates are forced
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(Defa
  ultArtifactResolver.java:459)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtif
  acts(DefaultArtifactResolver.java:262)
          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDepen
  dencies(DefaultRepositorySystem.java:367)
          ... 24 more
  Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to fin
  d org.springframework.ws:spring-ws:jar:2.1.4.RELEASE in http://repo.maven.apache
  .org/maven2 was cached in the local repository, resolution will not be reattempt
  ed until the update interval of central has elapsed or updates are forced
          at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newExcepti
  on(DefaultUpdateCheckManager.java:232)
          at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtif
  act(DefaultUpdateCheckManager.java:206)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownlo
  ads(DefaultArtifactResolver.java:599)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownl
  oads(DefaultArtifactResolver.java:518)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(Defa
  ultArtifactResolver.java:436)
          ... 26 more
  [ERROR]
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please rea
  d the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
  lutionException
  </code></pre>
  
  <p>Please let me know if I should post any other information to help.  Any help is greatly appreciated.
  <br/><br/>
  <strong>UPDATE:</strong><br/></p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;Test&lt;/groupId&gt;
      &lt;artifactId&gt;Test&lt;/artifactId&gt;
      &lt;version&gt;1.0.0&lt;/version&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
              &lt;version&gt;3.2.5.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;version&gt;3.2.5.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-ws&lt;/artifactId&gt;
              &lt;version&gt;2.1.4.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><br/><br/><strong>UPDATE 2:</strong><br/>
  After deleting the existing repository, and rerunning mvn compile.  I still get the error.</p>
  
  <pre><code>[ERROR] Failed to execute goal on project Test: Could not resolve depe
  ndencies for project Test:Test:jar:1.0.0: Could not find artifact
  org.springframework.ws:spring-ws:jar:2.1.4.RELEASE in central (http://repo.maven
  .apache.org/maven2), try downloading from http://www.springsource.com/download/c
  ommunity?project=Spring%20Web%20Services -&gt; [Help 1]
  </code></pre>