title: Package doesnot exist on maven compilation
body: <p>There exist a class in project that uses ILoggingEvent which is found to be imported from logback-classic.jar. It is available in project as maven dependency as well and in .m2 folder. But when i do mvn clean install, I get below error:</p>
  
  <blockquote>
    <p>[ERROR] /C:/Users/xxx/project/LogMonitor.java:[6,34] package</p>
    
    <p>ch.qos.logback.classic.spi does not exist </p>
    
    <p>cannot find symbol symbol:
    class ILoggingEvent</p>
  </blockquote>
  
  <p>When i extracted files from jar,I was able to find the same package with that jar. Above all , i see no error mark in LogMonitor class too , though it is the one which uses ILoggingEvent
  I tried maven update,project clean. But still i see it failing. There is no issue in configuration of maven as another repository is built successful. Please favour on how it can be resolved</p>
  
  <p>Edit:
  pom file of repo where this code exist.:</p>
  
  <pre><code>&lt;parent&gt;
          &lt;groupId&gt;com.common&lt;/groupId&gt;
          &lt;artifactId&gt;common-pom&lt;/artifactId&gt;
          &lt;version&gt;0.25.5&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;artifactId&gt;aws&lt;/artifactId&gt;
  
  
  pom of common:
   &lt;groupId&gt;com.common&lt;/groupId&gt;
    &lt;artifactId&gt;common-pom&lt;/artifactId&gt;
    &lt;version&gt;0.25.5&lt;/version&gt;
    &lt;packaging&gt;pom&lt;/packaging&gt;
  
    &lt;name&gt;Common&lt;/name&gt;
    &lt;modules&gt;
      &lt;module&gt;xxx&lt;/module&gt;
    &lt;/modules&gt;
    &lt;dependencyManagement&gt;
      &lt;dependencies&gt;
         &lt;dependency&gt;
          &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
          &lt;artifactId&gt;xxx&lt;/artifactId&gt;
          &lt;version&gt;${project.version}&lt;/version&gt;
        &lt;/dependency&gt;
       &lt;dependencies&gt;
     &lt;dependencyManagement&gt;
     &lt;dependencies&gt;
       &lt;dependency&gt;
        &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
        &lt;artifactId&gt;logback-core&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;/dependencies&gt;
  </code></pre>