title: POM for springboot app
body: <p>I have a springboot app and I'm having some trouble to make the pom for this app work.</p>
  
  <p>I seem to get this error:     </p>
  
  <pre><code>                Multiple annotations found at this line:
              - Failure to transfer org.mockito:mockito-core:jar:1.10.19 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.mockito:mockito-core:jar:
               1.10.19 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. org.eclipse.aether.transfer.ArtifactTransferException: Failure to 
               transfer org.mockito:mockito-core:jar:1.10.19 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.mockito:mockito-core:jar:
               1.10.19 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. at 
               org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238) at 
               org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) at 
               org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585) at 
               org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503) at 
               org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) at 
               org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) at 
               org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) at 
               org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205) at 
               org.apache.maven.project.DefaultProjectBuilder.resolveDependencies(DefaultProjectBuilder.java:215) at 
               org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:188) at 
               org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:119) at 
  </code></pre>
  
  <p>Heres the code form my pom, I'm not sure why I'm getting this error.</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &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;ar.gob.snr.encuestaSNR&lt;/groupId&gt;
          &lt;artifactId&gt;encuesta-api&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
          &lt;packaging&gt;jar&lt;/packaging&gt;
  
          &lt;name&gt;EncuenstaSNR&lt;/name&gt;
          &lt;description&gt;Encuesta de algo&lt;/description&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.3.RELEASE&lt;/version&gt;
              &lt;relativePath /&gt; &lt;!-- lookup parent from repository --&gt;
          &lt;/parent&gt;
  
          &lt;properties&gt;
              &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
              &lt;java.version&gt;1.8&lt;/java.version&gt;
          &lt;/properties&gt;
  
          &lt;dependencyManagement&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
                      &lt;artifactId&gt;spring-cloud-dependencies&lt;/artifactId&gt;
                      &lt;version&gt;Brixton.RC2&lt;/version&gt;
                      &lt;type&gt;pom&lt;/type&gt;
                      &lt;scope&gt;import&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/dependencyManagement&gt;
  
  
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-cloud-starter-config&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
              &lt;/dependency&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;dependency&gt;
                  &lt;groupId&gt;org.webjars&lt;/groupId&gt;
                  &lt;artifactId&gt;jquery&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
                  &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
                  &lt;version&gt;3.4&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;mysql&lt;/groupId&gt;
                  &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
                  &lt;scope&gt;runtime&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.mariadb.jdbc&lt;/groupId&gt;
                  &lt;artifactId&gt;mariadb-java-client&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.inject&lt;/groupId&gt;
                  &lt;artifactId&gt;javax.inject&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
                  &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-jpamodelgen&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;net.tanesha.recaptcha4j&lt;/groupId&gt;
                  &lt;artifactId&gt;recaptcha4j&lt;/artifactId&gt;
                  &lt;version&gt;0.0.7&lt;/version&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
  
          &lt;build&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                      &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&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;repository&gt;
                  &lt;id&gt;spring-milestones&lt;/id&gt;
                  &lt;name&gt;Spring Milestones&lt;/name&gt;
                  &lt;url&gt;http://repo.spring.io/milestone&lt;/url&gt;
                  &lt;snapshots&gt;
                      &lt;enabled&gt;false&lt;/enabled&gt;
                  &lt;/snapshots&gt;
              &lt;/repository&gt;
              &lt;repository&gt;
                  &lt;id&gt;snapshot-repository&lt;/id&gt;
                  &lt;name&gt;Maven2 Snapshot Repository&lt;/name&gt;
                  &lt;url&gt;https://oss.sonatype.org/content/repositories/snapshots&lt;/url&gt;
                  &lt;snapshots&gt;
                      &lt;enabled&gt;true&lt;/enabled&gt;
                      &lt;updatePolicy&gt;daily&lt;/updatePolicy&gt;
                  &lt;/snapshots&gt;
              &lt;/repository&gt;
          &lt;/repositories&gt;
  
          &lt;pluginRepositories&gt;
              &lt;pluginRepository&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;/pluginRepository&gt;
              &lt;pluginRepository&gt;
                  &lt;id&gt;spring-milestones&lt;/id&gt;
                  &lt;name&gt;Spring Milestones&lt;/name&gt;
                  &lt;url&gt;http://repo.spring.io/milestone&lt;/url&gt;
                  &lt;snapshots&gt;
                      &lt;enabled&gt;false&lt;/enabled&gt;
                  &lt;/snapshots&gt;
              &lt;/pluginRepository&gt;
              &lt;pluginRepository&gt;
                  &lt;id&gt;spring-releases&lt;/id&gt;
                  &lt;name&gt;Spring Releases&lt;/name&gt;
                  &lt;url&gt;http://repo.spring.io/release&lt;/url&gt;
                  &lt;snapshots&gt;
                      &lt;enabled&gt;false&lt;/enabled&gt;
                  &lt;/snapshots&gt;
              &lt;/pluginRepository&gt;
          &lt;/pluginRepositories&gt;
  
      &lt;/project&gt;
  </code></pre>
  
  <p>It's looks like I'm having trouble with some definitions but I'm not sure which ones.
  I'm not used to working with the pom, since I'm a front end developer, but I really need to make this work to get my api back online :P and keep working on the front end. Thanks in advance.</p>