title: Maven: missing dependencies are not being pulled
body: <p>so I am wrestling to get all the dependencies in the pom.xml file but it is still failing to grab them.</p>
  
  <p>this is my original pom.xml</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  
      &lt;!--
          Make runnable JAR: mvn package
       --&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt;
          &lt;artifactId&gt;parent&lt;/artifactId&gt;
          &lt;version&gt;0.0.5-SNAPSHOT&lt;/version&gt;
          &lt;relativePath&gt;../parent/pom.xml&lt;/relativePath&gt;
      &lt;/parent&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;artifactId&gt;layout-tools&lt;/artifactId&gt;
  
      &lt;name&gt;LayoutTools&lt;/name&gt;
      &lt;description&gt;
          An extensible web page segmentation and analysis framework - Runnable tools
      &lt;/description&gt;
      &lt;url&gt;http://www.fit.vutbr.cz/~burgetr/FITLayout/&lt;/url&gt;
  
      &lt;licenses&gt;
          &lt;license&gt;
              &lt;name&gt;GNU Lesser General Public License 3.0&lt;/name&gt;
              &lt;url&gt;http://www.gnu.org/licenses/lgpl-3.0.txt&lt;/url&gt;
              &lt;distribution&gt;repo&lt;/distribution&gt;
          &lt;/license&gt;
      &lt;/licenses&gt;
  
      &lt;developers&gt;
          &lt;developer&gt;
              &lt;name&gt;Radek Burget&lt;/name&gt;
              &lt;roles&gt;
                  &lt;role&gt;Main developer &amp;amp; project leader&lt;/role&gt;
              &lt;/roles&gt;
          &lt;/developer&gt;
      &lt;/developers&gt;
  
      &lt;scm&gt;
          &lt;url&gt;https://github.com/FitLayout/tools&lt;/url&gt;
          &lt;connection&gt;scm:git:git@github.com:FitLayout/tools.git&lt;/connection&gt;
          &lt;developerConnection&gt;scm:git:git@github.com:FitLayout/tools.git&lt;/developerConnection&gt;
          &lt;tag&gt;HEAD&lt;/tag&gt;
      &lt;/scm&gt;
  
      &lt;build&gt;
          &lt;sourceDirectory&gt;src/main/java&lt;/sourceDirectory&gt;
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/resources&lt;/directory&gt;
                  &lt;excludes&gt;
                      &lt;exclude&gt;**/*.java&lt;/exclude&gt;
                  &lt;/excludes&gt;
              &lt;/resource&gt;
          &lt;/resources&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;!-- merges the service descriptions in META-INF/services --&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;shade&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;transformers&gt;
                                  &lt;transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /&gt;
                                  &lt;transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"&gt;
                                      &lt;mainClass&gt;org.fit.layout.tools.BlockBrowser&lt;/mainClass&gt;
                                  &lt;/transformer&gt;
                              &lt;/transformers&gt;
                              &lt;finalName&gt;LayoutTools&lt;/finalName&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
  
      &lt;/build&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;xerces&lt;/groupId&gt;
              &lt;artifactId&gt;xercesImpl&lt;/artifactId&gt;
              &lt;version&gt;2.11.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;xml-apis&lt;/groupId&gt;
              &lt;artifactId&gt;xml-apis&lt;/artifactId&gt;
              &lt;version&gt;1.4.01&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt;
              &lt;artifactId&gt;layout-cssbox&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt;
              &lt;artifactId&gt;layout-segmentation&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt; &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt; &lt;artifactId&gt;layout-api&lt;/artifactId&gt; &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt;
              &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt;
              &lt;artifactId&gt;layout-logical&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt;
              &lt;artifactId&gt;layout-classify&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt;
              &lt;artifactId&gt;layout-storage-rdf&lt;/artifactId&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
                      &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
              &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jline&lt;/groupId&gt;
              &lt;artifactId&gt;jline&lt;/artifactId&gt;
              &lt;version&gt;3.9.0&lt;/version&gt;
          &lt;/dependency&gt;       
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>When I try to build the project it throws : </p>
  
  <p><code>Error:(10, 26) java: package org.fit.layout.api does not exist</code></p>
  
  <p><code>Error:(15, 28) java: package org.fit.layout.model does not exist</code></p>
  
  <p><code>Error:(18, 17) java: package org.slf4j does not exist</code></p>
  
  <p>I tried to add the layout-api` via:</p>
  
  <pre><code>    &lt;dependency&gt; &lt;groupId&gt;cz.vutbr.fit.layout&lt;/groupId&gt; 
  &lt;artifactId&gt;layout-api&lt;/artifactId&gt;&lt;version&gt;0.0.4&lt;/version&gt; &lt;/dependency&gt;
  </code></pre>
  
  <p>However, this still does not get recognized. </p>
  
  <p>I checked the maven repo but it is also missing the <code>org.fit.layout.model</code></p>
  
  <p><a href="https://repo.maven.apache.org/maven2/cz/vutbr/fit/layout/" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2/cz/vutbr/fit/layout/</a></p>
  
  <p>the project I am trying to compile and run is </p>
  
  <p><a href="https://github.com/FitLayout/tools" rel="nofollow noreferrer">https://github.com/FitLayout/tools</a></p>
  
  <p><strong>update</strong>: while compiling the parent project I get the following maven plugin errors:</p>
  
  <p>i've added the following but still cannot get rid of the maven plugin errors:</p>
  
  <pre><code>Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.5
  Cannot resolve plugin org.apache.maven.plugins:maven-install-plugin:2.4
  Cannot resolve plugin org.apache.maven.plugins:maven-deploy-plugin:2.7
  Cannot resolve plugin org.apache.maven.plugins:maven-site-plugin:3.3
  </code></pre>
  
  <p>I've added          </p>
  
  <pre><code>&lt;dependency&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.8.1&lt;/version&gt;
                  &lt;type&gt;maven-plugin&lt;/type&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5&lt;/version&gt;
                  &lt;type&gt;maven-plugin&lt;/type&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.4&lt;/version&gt;
                  &lt;type&gt;maven-plugin&lt;/type&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.7&lt;/version&gt;
                  &lt;type&gt;maven-plugin&lt;/type&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.3&lt;/version&gt;
                  &lt;type&gt;maven-plugin&lt;/type&gt;
              &lt;/dependency&gt;
  </code></pre>