title: Maven Could not resolve dependencies for hadoop project
body: <p>I wanted to build the sample projects from <a href="https://github.com/tomwhite/hadoop-book/tree/3e" rel="nofollow noreferrer">hadoop</a> book but I got &quot;Could not resolve dependencies error&quot;.
  Here is my Error during build:</p>
  <pre><code>[INFO] Building Chapter 2: MapReduce 3.0
  [INFO] ------------------------------------------------------------------------
  [WARNING] The POM for org.apache.hadoop:hadoop-core:jar:0.23.10 is missing, no dependency information available
  [WARNING] The POM for org.apache.hadoop:hadoop-test:jar:0.23.10 is missing, no dependency information available
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] Chapter 2: MapReduce .............................. FAILURE [1.409s]
  [INFO] Hadoop: The Definitive Guide, Example Code ........ SKIPPED
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1.819s
  [INFO] Finished at: Wed May 14 12:19:14 EEST 2014
  [INFO] Final Memory: 6M/67M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project ch02: Could not resolve dependencies for project com.hadoopbook:ch02:jar:3.0: The following artifacts could not be resolved: org.apache.hadoop:hadoop-core:jar:0.23.10, org.apache.hadoop:hadoop-test:jar:0.23.10: Failure to find org.apache.hadoop:hadoop-core:jar:0.23.10 in https://repository.apache.org/content/repositories/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of apache.releases has elapsed or updates are forced -&gt; [Help 1]
  </code></pre>
  <p>and here is my pom.xml for ch02 project</p>
  <pre><code>&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
    xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;parent&gt;
      &lt;groupId&gt;com.hadoopbook&lt;/groupId&gt;
      &lt;artifactId&gt;hadoop-meta&lt;/artifactId&gt;
      &lt;version&gt;3.0&lt;/version&gt;
      &lt;relativePath&gt;../hadoop-meta/pom.xml&lt;/relativePath&gt;
    &lt;/parent&gt;
    &lt;groupId&gt;com.hadoopbook&lt;/groupId&gt;
    &lt;artifactId&gt;ch02&lt;/artifactId&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
    &lt;version&gt;3.0&lt;/version&gt;
    &lt;name&gt;Chapter 2: MapReduce&lt;/name&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
        &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  <p>Any idea how can I build this code using maven and what the problem is ?
  Thanks</p>