title: PluginResolutionException when I run mvn test on the project
body: <p>I give the following commands in command line. As you can see, there is an error, the connection is timed out. I have set the environment variables as the following :</p>
  
  <pre><code>M2_HOME=C:\app\apache-maven-3.3.3
  M2= %M2_HOME%\bin
  MAVEN_OPTS=-Xms256m -Xmx512m
  C:\Users\user1\Desktop\SQLToNoSQLImporter-master\SQLToNoSQLImporter-maste
  r&gt;mvn test -DimportConf=/Users/sathis/Desktop/data-import.properties -DdbConf=/U
  sers/sathis/Desktop/data-config.xml
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building SQLToNoSQLImporter 1.0-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven
  -resources-plugin/2.6/maven-resources-plugin-2.6.pom
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 22.282 s
  [INFO] Finished at: 2015-06-16T12:30:31+05:30
  [INFO] Final Memory: 8M/245M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its
   dependencies could not be resolved: Failed to read artifact descriptor for org.
  apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact
   org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https:
  //repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.mave
  n.apache.org/23.235.44.215] failed: Connection timed out: connect -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
  ch.
  [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 rea
  d the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
  onException
  </code></pre>
  
  <p>Here the pom file details :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  -&lt;project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"&gt;
  
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;org.sathis&lt;/groupId&gt;
  
  &lt;artifactId&gt;SQLToNoSQLImporter&lt;/artifactId&gt;
  
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
  
  -&lt;dependencies&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;commons-io&lt;/groupId&gt;
  
  &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
  
  &lt;version&gt;2.4&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;commons-logging&lt;/groupId&gt;
  
  &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
  
  &lt;version&gt;1.1&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;commons-dbutils&lt;/groupId&gt;
  
  &lt;artifactId&gt;commons-dbutils&lt;/artifactId&gt;
  
  &lt;version&gt;1.5&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;commons-lang&lt;/groupId&gt;
  
  &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
  
  &lt;version&gt;2.6&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;net.sf.json-lib&lt;/groupId&gt;
  
  &lt;artifactId&gt;json-lib&lt;/artifactId&gt;
  
  &lt;version&gt;2.4&lt;/version&gt;
  
  &lt;classifier&gt;jdk15&lt;/classifier&gt;
  
  &lt;/dependency&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
  
  &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
  
  &lt;version&gt;4.3.5&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;org.mongodb&lt;/groupId&gt;
  
  &lt;artifactId&gt;mongo-java-driver&lt;/artifactId&gt;
  
  &lt;version&gt;2.12.3&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;org.elasticsearch&lt;/groupId&gt;
  
  &lt;artifactId&gt;elasticsearch&lt;/artifactId&gt;
  
  &lt;version&gt;1.3.1&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  &lt;!--- Optional Dependencies --&gt;
  
  
  &lt;!-- PostgreSQL driver. comment this if you are not using --&gt;
  
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;postgresql&lt;/groupId&gt;
  
  &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
  
  &lt;version&gt;9.1-901.jdbc4&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  &lt;!-- MySQL driver. comment this if you are not using --&gt;
  
  
  
  -&lt;dependency&gt;
  
  &lt;groupId&gt;mysql&lt;/groupId&gt;
  
  &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
  
  &lt;version&gt;5.1.31&lt;/version&gt;
  
  &lt;/dependency&gt;
  
  &lt;!-- Oracle driver not available in maven. Please put the jar in libs folder. --&gt;
  
  
  &lt;/dependencies&gt;
  
  
  -&lt;build&gt;
  
  
  -&lt;plugins&gt;
  
  
  -&lt;plugin&gt;
  
  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
  
  &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
  
  &lt;version&gt;1.2.1&lt;/version&gt;
  
  
  -&lt;executions&gt;
  
  
  -&lt;execution&gt;
  
  &lt;phase&gt;test&lt;/phase&gt;
  
  
  -&lt;goals&gt;
  
  &lt;goal&gt;java&lt;/goal&gt;
  
  &lt;/goals&gt;
  
  
  -&lt;configuration&gt;
  
  &lt;mainClass&gt;net.sathis.export.sql.SQLToNoSQLImporter&lt;/mainClass&gt;
  
  
  -&lt;arguments&gt;
  
  &lt;argument&gt;${importConf}&lt;/argument&gt;
  
  &lt;argument&gt;${dbConf}&lt;/argument&gt;
  
  &lt;/arguments&gt;
  
  &lt;/configuration&gt;
  
  &lt;/execution&gt;
  
  &lt;/executions&gt;
  
  &lt;/plugin&gt;
  
  &lt;/plugins&gt;
  
  &lt;/build&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>Ask for any other details if required.Any help is appreciated.</p>