title: MAVEN :- Could not resolve dependencies for project
body: <p>I hope some one facing the same issue to resolving the dependencies. <code>POM.xml</code> file mentioned below</p>
  
  <p>
          
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 <a href="http://maven.apache.org/xsd/maven-4.0.0.xsd" rel="nofollow noreferrer">http://maven.apache.org/xsd/maven-4.0.0.xsd</a>"
          xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          4.0.0</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;com.shopizer&lt;/groupId&gt;
      &lt;artifactId&gt;habbit&lt;/artifactId&gt;
      &lt;version&gt;2.12.0&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;artifactId&gt;habbit-core&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  
  &lt;name&gt;habbit-core&lt;/name&gt;
  &lt;url&gt;http://www.shopizer.com&lt;/url&gt;
  
  &lt;properties&gt;
      &lt;coverage.lines&gt;.00&lt;/coverage.lines&gt;
      &lt;coverage.branches&gt;.00&lt;/coverage.branches&gt;
      &lt;google-client-maps-services-version&gt;0.1.6&lt;/google-client-maps-services-version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
  
      &lt;!-- jpa, crud repository --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
  
      &lt;!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-ehcache --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
          &lt;artifactId&gt;hibernate-ehcache&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- sm-core-model --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.shopizer&lt;/groupId&gt;
          &lt;artifactId&gt;habbit-core-model&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- sm-core-modules --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.shopizer&lt;/groupId&gt;
          &lt;artifactId&gt;habbit-core-modules&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- canadapost --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.shopizer&lt;/groupId&gt;
          &lt;artifactId&gt;shopizer-shipping-canadapost-module&lt;/artifactId&gt;
          &lt;version&gt;${shopizer-canadapost.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Google Map API --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.maps&lt;/groupId&gt;
          &lt;artifactId&gt;google-maps-services&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.kie&lt;/groupId&gt;
          &lt;artifactId&gt;kie-ci&lt;/artifactId&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                  &lt;artifactId&gt;guava&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.drools&lt;/groupId&gt;
          &lt;artifactId&gt;drools-decisiontables&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.drools&lt;/groupId&gt;
          &lt;artifactId&gt;drools-core&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.drools&lt;/groupId&gt;
          &lt;artifactId&gt;drools-compiler&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!--spring integration --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.kie&lt;/groupId&gt;
          &lt;artifactId&gt;kie-spring&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;!-- end rules engine --&gt;
  
      &lt;!-- Infinispan --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.infinispan&lt;/groupId&gt;
          &lt;artifactId&gt;infinispan-core&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.infinispan&lt;/groupId&gt;
          &lt;artifactId&gt;infinispan-tree&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
          &lt;artifactId&gt;commons-collections4&lt;/artifactId&gt;
          &lt;!--&lt;version&gt;${commons-collections4.version}&lt;/version&gt; --&gt;
      &lt;/dependency&gt;
  
  
      &lt;!-- https://mvnrepository.com/artifact/commons-validator/commons-validator --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;commons-validator&lt;/groupId&gt;
          &lt;artifactId&gt;commons-validator&lt;/artifactId&gt;
          &lt;!--&lt;version&gt;${commons-validator.version}&lt;/version&gt; --&gt;
  
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;commons-collections&lt;/groupId&gt;
                  &lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  
  
      &lt;!-- https://mvnrepository.com/artifact/org.freemarker/freemarker --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.freemarker&lt;/groupId&gt;
          &lt;artifactId&gt;freemarker&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context-support&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
          &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-s3 --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
          &lt;artifactId&gt;aws-java-sdk-s3&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-ses --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
          &lt;artifactId&gt;aws-java-sdk-ses&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- google cloud storage --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;google-cloud-storage&lt;/artifactId&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                  &lt;artifactId&gt;guava&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  
  
      &lt;!-- Payment dependencies --&gt;
  
      &lt;!-- Paypal --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.paypal.sdk&lt;/groupId&gt;
          &lt;artifactId&gt;merchantsdk&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Stripe --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.stripe&lt;/groupId&gt;
          &lt;artifactId&gt;stripe-java&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Braintree --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.braintreepayments.gateway&lt;/groupId&gt;
          &lt;artifactId&gt;braintree-java&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
  
      &lt;!-- Invoices --&gt;
      &lt;!-- &lt;dependency&gt; &lt;groupId&gt;com.itextpdf&lt;/groupId&gt; &lt;artifactId&gt;itextpdf&lt;/artifactId&gt; 
          &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.jopendocument&lt;/groupId&gt; &lt;artifactId&gt;jOpenDocument&lt;/artifactId&gt; 
          &lt;/dependency&gt; --&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/com.maxmind.geoip2/geoip2 --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.maxmind.geoip2&lt;/groupId&gt;
          &lt;artifactId&gt;geoip2&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- google cloud storage --&gt;
      &lt;!-- https://mvnrepository.com/artifact/com.google.guava/guava --&gt;
      &lt;!-- Up to date for GCP storage issue --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
          &lt;artifactId&gt;guava&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- tests dependencies --&gt;
      &lt;!-- http://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;!-- H2 DB --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.h2database&lt;/groupId&gt;
          &lt;artifactId&gt;h2&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Elastic search --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.elasticsearch&lt;/groupId&gt;
          &lt;artifactId&gt;elasticsearch&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.shopizer&lt;/groupId&gt;
          &lt;artifactId&gt;sm-search&lt;/artifactId&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.elasticsearch&lt;/groupId&gt;
                  &lt;artifactId&gt;elasticsearch&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                  &lt;artifactId&gt;guava&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>
  
  <p>when I run command mvn clean install:-</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO] Inspecting build with total of 6 modules...
  [INFO] Installing Nexus Staging features:
  [INFO]   ... total of 6 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO]
  [INFO] habbit                                                             [pom]
  [INFO] habbit-core-model                                                  [jar]
  [INFO] habbit-core-modules                                                [jar]
  [INFO] habbit-core                                                        [jar]
  [INFO] habbit-shop-model                                                  [jar]
  [INFO] habbit-shop                                                        [jar]
  [INFO]
  [INFO] ------------------------&lt; com.shopizer:habbit &gt;-------------------------
  [INFO] Building habbit 2.12.0                                             [1/6]
  [INFO] --------------------------------[ pom ]---------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ habbit ---
  [INFO]
  [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default-prepare-agent) @ habbit ---
  [INFO] argLine set to -javaagent:C:\\Users\\Hp\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=D:\\myProject\\h
  abbit\\target\\jacoco.exec
  [INFO]
  [INFO] -------------------&lt; com.shopizer:habbit-core-model &gt;-------------------
  [INFO] Building habbit-core-model 2.12.0                                  [2/6]
  [INFO] --------------------------------[ jar ]---------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ habbit-core-model ---
  [INFO] Deleting D:\myProject\habbit\habbit-core-model\target
  [INFO]
  [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default-prepare-agent) @ habbit-core-model ---
  [INFO] argLine set to -javaagent:C:\\Users\\Hp\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=D:\\myProject\\h
  abbit\\habbit-core-model\\target\\jacoco.exec
  [INFO]
  [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ habbit-core-model ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-model\src\main\resources
  [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-model\src\main\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ habbit-core-model ---
  [INFO] Changes detected - recompiling the module!
  [INFO] Compiling 182 source files to D:\myProject\habbit\habbit-core-model\target\classes
  [INFO]
  [INFO] ------------------&lt; com.shopizer:habbit-core-modules &gt;------------------
  [INFO] Building habbit-core-modules 2.12.0                                [3/6]
  [INFO] --------------------------------[ jar ]---------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ habbit-core-modules ---
  [INFO] Deleting D:\myProject\habbit\habbit-core-modules\target
  [INFO]
  [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default-prepare-agent) @ habbit-core-modules ---
  [INFO] argLine set to -javaagent:C:\\Users\\Hp\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=D:\\myProject\\h
  abbit\\habbit-core-modules\\target\\jacoco.exec
  [INFO]
  [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ habbit-core-modules ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-modules\src\main\resources
  [INFO] skip non existing resourceDirectory D:\myProject\habbit\habbit-core-modules\src\main\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ habbit-core-modules ---
  [INFO] Changes detected - recompiling the module!
  [INFO] Compiling 14 source files to D:\myProject\habbit\habbit-core-modules\target\classes
  [INFO]
  [INFO] ----------------------&lt; com.shopizer:habbit-core &gt;----------------------
  [INFO] Building habbit-core 2.12.0                                        [4/6]
  [INFO] --------------------------------[ jar ]---------------------------------
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary for habbit 2.12.0:
  [INFO]
  [INFO] habbit ............................................. SUCCESS [  2.919 s]
  [INFO] habbit-core-model .................................. SUCCESS [ 14.010 s]
  [INFO] habbit-core-modules ................................ SUCCESS [  2.125 s]
  [INFO] habbit-core ........................................ FAILURE [  2.078 s]
  [INFO] habbit-shop-model .................................. SKIPPED
  [INFO] habbit-shop ........................................ SKIPPED
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  24.245 s
  [INFO] Finished at: 2020-05-22T15:12:57+05:30
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project habbit-core: Could not resolve dependencies for project com.shopizer:habbit-core:jar:2.12.0: Failed to collect dependenci
  es at com.shopizer:shopizer-shipping-canadapost-module:jar:2.11.0 -&gt; com.shopizer:sm-core-model:jar:2.10.0: Failed to read artifact descriptor for com.shopizer:sm-
  core-model:jar:2.10.0: Failure to find com.shopizer:shopizer:pom:2.10.0 in https://oss.sonatype.org/content/repositories/snapshots/ was cached in the local reposit
  ory, resolution will not be reattempted until the update interval of oss-sonatype has elapsed or updates are forced -&gt; [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] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  [ERROR]
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn &lt;args&gt; -rf :habbit-core
  </code></pre>