title: Unknown host exception nexus.codehaus.org in maven build
body: <p>I am building the Apache Ignite project  <a href="http://github.com/apache/ignite" rel="noreferrer">http://github.com/apache/ignite</a> .</p>
  
  <p>One of the maven pom.xml refers to the <code>codehaus</code> exec-maven-plugin .  Note that <em>codehaus is now defunct as a company</em>.  </p>
  
  <p>Is there something in the plugin itself that links to the <a href="http://nexus.codehaus.org" rel="noreferrer">http://nexus.codehaus.org</a> repository?  Consider the error message from running</p>
  
  <pre><code> mvn clean package 
  </code></pre>
  
  <p>on that project:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-
  plugin:1.3.2:java (default) on project ignite-core: Execution 
  default of goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java failed:
   Plugin org.codehaus.mojo:exec-maven-plugin:1.3.2 or one of its 
  dependencies could not be resolved: Could not transfer artifact
   org.apache.ignite:ignite-tools:jar:1.4.1-SNAPSHOT from/to 
  codehaus-snapshots (http://nexus.codehaus.org/snapshots/):
   nexus.codehaus.org: Unknown host nexus.codehaus.org -&gt; [Help 1]
  </code></pre>
  
  <p>Here is the snippet of pom.xml:</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;build-helper-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.9.1&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;add-sources&lt;/id&gt;
                      &lt;phase&gt;generate-sources&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;add-source&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;sources&gt;
                              &lt;source&gt;schema-import/src/main/java&lt;/source&gt;
                          &lt;/sources&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>Note: I am not all certain that the error were due to the codehaus mojo plugin. It is simply here noted given that were the only reference to codehaus in the project.</p>