title: Maven: Error when trying to maven test the codes
body: <p>I have been trying to maven test my codes, but i keep having this in my console:</p>
  
  <blockquote>
    <p>[INFO] Scanning for projects... [INFO]<br>
    [INFO]
    ------------------------------------------------------------------------ [INFO] Building SonarQube Java :: Checks 2.3-SNAPSHOT [INFO]
    ------------------------------------------------------------------------ [WARNING] The POM for
    org.codehaus.sonar-plugins.java:java-squid:jar:2.3-SNAPSHOT is
    missing, no dependency information available [INFO]
    ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO]
    ------------------------------------------------------------------------ [INFO] Total time: 2.791s [INFO] Finished at: Wed May 21 16:18:34 CST
    2014 [INFO] Final Memory: 9M/61M [INFO]
    ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project java-checks: Could not
    resolve dependencies for project
    org.codehaus.sonar-plugins.java:java-checks:jar:2.3-SNAPSHOT: Could
    not find artifact
    org.codehaus.sonar-plugins.java:java-squid:jar:2.3-SNAPSHOT -> [Help
    1] [ERROR]  [ERROR] To see the full stack trace of the errors, re-run
    Maven with the -e switch. [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 read the following articles:
    [ERROR] [Help 1]
    <a href="http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException" rel="nofollow">http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException</a></p>
  </blockquote>
  
  <p>My pom.xml are:</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/maven-v4_0_0.xsd"&gt;  
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;parent&gt;
      &lt;groupId&gt;org.codehaus.sonar-plugins.java&lt;/groupId&gt;
      &lt;artifactId&gt;java&lt;/artifactId&gt;
      &lt;version&gt;2.3-SNAPSHOT&lt;/version&gt;   &lt;/parent&gt;
      &lt;artifactId&gt;java-checks&lt;/artifactId&gt;
      &lt;name&gt;SonarQube Java :: Checks&lt;/name&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.sonar&lt;/groupId&gt;
              &lt;artifactId&gt;sonar-deprecated&lt;/artifactId&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
              &lt;artifactId&gt;java-squid&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.sonar.sslr&lt;/groupId&gt;
              &lt;artifactId&gt;sslr-testing-harness&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
              &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.mockito&lt;/groupId&gt;
              &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.easytesting&lt;/groupId&gt;
              &lt;artifactId&gt;fest-assert&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
              &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>Is there anyway to resolve such error?</p>