title: Unable to build maven module with jar packaging under Maven Project...!
body: <p>am not able to build the maven maodule with jar packaging. am getting error as</p>
  
  <pre><code>Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from http://repo1.maven.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.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to central (http://repo1.maven.org/maven2): ConnectException
  </code></pre>
  
  <p>my machine is tagged to company network, is their any proxy issue? I tried creating settings.xml with the below:</p>
  
  <pre><code>&lt;settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                        http://maven.apache.org/xsd/settings-1.0.0.xsd"&gt;
    &lt;localRepository&gt;${user.home}/.m2/repository&lt;/localRepository&gt;
    &lt;interactiveMode&gt;true&lt;/interactiveMode&gt;
    &lt;usePluginRegistry&gt;false&lt;/usePluginRegistry&gt;
    &lt;offline&gt;false&lt;/offline&gt;
    &lt;pluginGroups/&gt;
    &lt;servers/&gt;
    &lt;mirrors/&gt;
    &lt;proxies&gt;
      &lt;!-- proxy
       | Specification for one proxy, to be used in connecting to the network.
       |--&gt;
      &lt;proxy&gt;
        &lt;id&gt;optional&lt;/id&gt;
        &lt;active&gt;true&lt;/active&gt;
        &lt;protocol&gt;http&lt;/protocol&gt;      
        &lt;host&gt;proxy.tcs.com&lt;/host&gt;
        &lt;port&gt;80&lt;/port&gt;
        &lt;nonProxyHosts&gt;localhost|google.com&lt;/nonProxyHosts&gt;
      &lt;/proxy&gt;
  
    &lt;/proxies&gt;
    &lt;profiles/&gt;
    &lt;activeProfiles/&gt;
  &lt;/settings&gt;
  </code></pre>
  
  <p>Am able to create sub module with pom packaging but not with jar,Pls suggest</p>
  
  <p>If i try to update the Maven Project config, console is displayed as below:</p>
  
  <pre><code>2/27/13 1:08:12 PM IST: Unable to update index for central|http://repo1.maven.org/maven2
  2/27/13 1:08:12 PM IST: Updating index central|http://repo1.maven.org/maven2
  2/27/13 1:11:37 PM IST: Refreshing settings C:\Users\346496\.m2\settings.xml
  2/27/13 1:50:58 PM IST: Update started
  2/27/13 1:50:59 PM IST: Update completed: 0 sec
  2/27/13 1:51:04 PM IST: Update started
  2/27/13 1:51:04 PM IST: Generating sources /common/pom.xml
  2/27/13 1:51:04 PM IST: Build error for /common/pom.xml; org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3
  2/27/13 1:51:04 PM IST: Downloaded http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
  2/27/13 1:51:04 PM IST: Failed to determine compiler source setting, assuming default
  2/27/13 1:51:04 PM IST: Failed to determine compiler target setting, assuming default
  2/27/13 1:51:04 PM IST: Failed to determine compiler source setting, assuming default
  2/27/13 1:51:04 PM IST: Failed to determine compiler target setting, assuming default
  2/27/13 1:51:04 PM IST: Failed to determine compiler test inclusions, assuming defaults
  2/27/13 1:51:04 PM IST: Failed to determine compiler test exclusions, assuming defaults
  2/27/13 1:51:04 PM IST: Failed to determine compiler inclusions, assuming defaults
  2/27/13 1:51:04 PM IST: Failed to determine compiler exclusions, assuming defaults
  2/27/13 1:51:04 PM IST: Adding source folder /common/src/main/java
  2/27/13 1:51:04 PM IST: Adding resource folder /common/src/main/resources
  2/27/13 1:51:04 PM IST: Adding source folder /common/src/test/java
  2/27/13 1:51:04 PM IST: Adding resource folder /common/src/test/resources
  2/27/13 1:51:04 PM IST: Update completed: 0 sec
  </code></pre>
  
  <p>I have configured Maven link <code>http://m2eclipse.sonatype.org/sites/m2e</code> with eclipse version Juno and Jdk 1.7.
  I tried all the possible solutions from net, but didnot succeed.</p>