title: Plugin org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT or one of its dependencies could not be resolved
body: <p>I am getting below error:</p>
  
  <p>Plugin org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT</p>
  
  <p>My pom.xml file is:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><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/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.BBMSearchApp&lt;/groupId&gt;
    &lt;artifactId&gt;adder&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;adder Maven Webapp&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
    
   &lt;parent&gt;
    &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
    &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
    &lt;version&gt;1.3.0.BUILD-SNAPSHOT&lt;/version&gt;
   &lt;/parent&gt;
    
     &lt;dependencies&gt;
      &lt;dependency&gt;
     &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
     &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
    &lt;/dependency&gt;
    &lt;!-- &lt;dependency&gt;
     &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
     &lt;artifactId&gt;spring-data-mongodb&lt;/artifactId&gt;
     &lt;version&gt;1.7.0.RELEASE&lt;/version&gt;
    &lt;/dependency&gt;
   --&gt;
    &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-data-mongodb&lt;/artifactId&gt;
          &lt;/dependency&gt;
    
    &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;springloaded&lt;/artifactId&gt; 
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-log4j&lt;/artifactId&gt; 
          &lt;/dependency&gt; --&gt;
    &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
        &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
        &lt;artifactId&gt;tomcat-embed-jasper&lt;/artifactId&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
    &lt;/dependency&gt;
    
    &lt;dependency&gt;
     &lt;groupId&gt;org.json&lt;/groupId&gt;
     &lt;artifactId&gt;json&lt;/artifactId&gt;
     &lt;version&gt;20141113&lt;/version&gt;
    &lt;/dependency&gt;
    
    &lt;dependency&gt;  
          &lt;groupId&gt;joda-time&lt;/groupId&gt;  
          &lt;artifactId&gt;joda-time&lt;/artifactId&gt;  
    &lt;/dependency&gt;
          
    &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-security&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-social-facebook&lt;/artifactId&gt;
          &lt;/dependency&gt; --&gt;
  
          &lt;!-- &lt;dependency&gt;
           &lt;groupId&gt;org.neo4j&lt;/groupId&gt;
           &lt;artifactId&gt;neo4j-cypher-compiler-2.1&lt;/artifactId&gt;
           &lt;version&gt;2.1.5&lt;/version&gt;
          &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
           &lt;groupId&gt;org.scala-lang&lt;/groupId&gt;
           &lt;artifactId&gt;scala-library&lt;/artifactId&gt;
           &lt;version&gt;2.10.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
        &lt;artifactId&gt;jackson-core-asl&lt;/artifactId&gt;
        &lt;version&gt;1.9.13&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
        &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
        &lt;version&gt;1.9.13&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;!-- &lt;dependency&gt;
     &lt;groupId&gt;org.neo4j&lt;/groupId&gt;
     &lt;artifactId&gt;neo4j-cypher-compiler-2.1&lt;/artifactId&gt;
     &lt;version&gt;2.1.5&lt;/version&gt;
    &lt;/dependency&gt; --&gt;
    
    &lt;dependency&gt;
     &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
     &lt;artifactId&gt;aws-java-sdk-s3&lt;/artifactId&gt;
     &lt;version&gt;1.9.30&lt;/version&gt;
    &lt;/dependency&gt;
    
     &lt;/dependencies&gt;
     
     &lt;build&gt;
       &lt;finalName&gt;adder&lt;/finalName&gt;
   
    &lt;plugins&gt;
           &lt;plugin&gt;
               &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
               &lt;configuration&gt;
                   &lt;source&gt;1.8&lt;/source&gt;
                   &lt;target&gt;1.8&lt;/target&gt;
               &lt;/configuration&gt;
           &lt;/plugin&gt;
  
    &lt;/plugins&gt;
   &lt;/build&gt;
   &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;spring-snapshots&lt;/id&gt;
          &lt;name&gt;Spring Snapshots&lt;/name&gt;
          &lt;url&gt;http://repo.spring.io/snapshot&lt;/url&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
          &lt;/snapshots&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  
  
   
  &lt;/project&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And debug logs are:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T22:59:23+05:30)
  Maven home: C:\Dev\apache-maven-withCustomReposiory\apache-maven-3.2.5
  Java version: 1.8.0_11, vendor: Oracle Corporation
  Java home: C:\Program Files\Java\jdk1.8.0_11\jre
  Default locale: en_US, platform encoding: Cp1252
  OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"
  [INFO] Error stacktraces are turned on.
  [DEBUG] Reading global settings from C:\Dev\apache-maven-withCustomReposiory\apache-maven-3.2.5\conf\settings.xml
  [DEBUG] Reading user settings from C:\Dev\apache-maven-withCustomReposiory\apache-maven-3.2.5\conf\settings.xml
  [DEBUG] Using local repository at C:\Users\DK\.m2Custom\repo
  [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\DK\.m2Custom\repo
  [INFO] Scanning for projects...
  [DEBUG] Could not find metadata org.springframework.boot:spring-boot-starter-parent:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.springframework.boot:spring-boot-starter-parent:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Could not find metadata org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Extension realms for project com.BBMSearchApp:adder:war:0.0.1-SNAPSHOT: (none)
  [DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
  [DEBUG] Could not find metadata org.springframework:spring-framework-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.springframework:spring-framework-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Could not find metadata org.springframework.integration:spring-integration-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.springframework.integration:spring-integration-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Extension realms for project org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.BUILD-SNAPSHOT: (none)
  [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  [DEBUG] Could not find metadata org.springframework:spring-framework-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.springframework:spring-framework-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Could not find metadata org.springframework.integration:spring-integration-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.springframework.integration:spring-integration-bom:4.2.0.BUILD-SNAPSHOT/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Could not find metadata org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Extension realms for project org.springframework.boot:spring-boot-dependencies:pom:1.3.0.BUILD-SNAPSHOT: (none)
  [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  [DEBUG] Resolving plugin prefix spring-boot from [org.apache.maven.plugins, org.codehaus.mojo]
  [DEBUG] Could not find metadata org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Could not find metadata org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [WARNING] The POM for org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT is missing, no dependency information available
  [WARNING] Failed to retrieve plugin descriptor for org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT: Plugin org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT
  org.apache.maven.plugin.PluginResolutionException: Plugin org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT
   at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:133)
   at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:150)
   at org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:81)
   at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:138)
   at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:125)
   at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:85)
   at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
   at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
   at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:103)
   at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:83)
   at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:85)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:483)
   at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)
   at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
   at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
   at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
   at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT
   at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
   at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
   at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
   at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
   at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:129)
   ... 24 more
  Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT
   at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:434)
   ... 28 more
  [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date.
  [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:\Users\DK\.m2Custom\repo)
  [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
  [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
  [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
  [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
  [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
  [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
  [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 4.8 KB/sec)
  [DEBUG] Writing tracking file C:\Users\DK\.m2Custom\repo\org\apache\maven\plugins\resolver-status.properties
  [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 6.9 KB/sec)
  [DEBUG] Writing tracking file C:\Users\DK\.m2Custom\repo\org\codehaus\mojo\resolver-status.properties
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 5.313 s
  [INFO] Finished at: 2015-05-02T23:05:55+05:30
  [INFO] Final Memory: 15M/208M
  [INFO] ------------------------------------------------------------------------
  [ERROR] No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\DK\.m2Custom\repo), central (https://repo.maven.apache.org/maven2)] -&gt; [Help 1]
  org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\DK\.m2Custom\repo), central (https://repo.maven.apache.org/maven2)]
   at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:93)
   at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
   at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
   at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:103)
   at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:83)
   at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:85)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:483)
   at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)
   at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
   at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
   at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
   at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  [ERROR] 
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException</code></pre>
  </div>
  </div>
  </p>