title: java maven COMPILATION ERROR : cannot find symbol
body: <p>java maven COMPILATION ERROR :  cannot find symbol
  I am using eclipse to build a java maven project from a remote linux machine. I get connected to project using Eclipse Remote System Explorer (RSE). When I want to clean install the project, it seems that maven cannot find some of my classes. </p>
  
  <p>This is the error and I the project POM file.</p>
  
  <p>Error:</p>
  
  <pre><code>[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ rule_miner ---
  [INFO] Changes detected - recompiling the module!
  [INFO] Compiling 1 source file to C:\Users\pita\eclipse-workspace\RemoteSystemsTempFiles\192.168.45.102\home\ubuntu\newRR\rudik\target  classes
  
  [INFO] -------------------------------------------------------------
  [ERROR] COMPILATION ERROR : 
  [INFO] -------------------------------------------------------------
  [ERROR] /C:/Users/pita/eclipse-workspace/RemoteSystemsTempFiles/192.168.45.102/home/ubuntu/newRR/rudik/src/main/java/asu/edu/rule_miner/rudik/model/horn_rule/HornRule.java:[13,32] cannot 
  find symbol
    symbol:   class RuleMinerException
    location: package asu.edu.rule_miner.rudik
  [ERROR] /C:/Users/pita/eclipse-workspace/RemoteSystemsTempFiles/192.168.45.102/home/ubuntu/newRR/rudik/src/main/java/asu/edu/rule_miner/rudik/model/horn_rule/HornRule.java:[14,46] package 
  asu.edu.rule_miner.rudik.configuration does not exist
  ....
  ....
  ....
  [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/MojoFailureException
  </code></pre>
  
  <p>POM:</p>
  
  <pre><code>&lt;build&gt;
  
      &lt;!-- Plugin management --&gt;
      &lt;pluginManagement&gt;
  
          &lt;plugins&gt;
              &lt;!-- Configure the SSH/SCP connector --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
                          &lt;artifactId&gt;wagon-ssh&lt;/artifactId&gt;
                          &lt;version&gt;1.0&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
  
          &lt;/plugins&gt;
  
      &lt;/pluginManagement&gt;
  
      &lt;!-- Plugins used to modify build-lifecycle behaviour --&gt;
      &lt;plugins&gt;
  
          &lt;!-- Generate and install source, bound to verify phase, it is active 
              in case of install and deploy --&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.1.2&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;attach-sources&lt;/id&gt;
                      &lt;phase&gt;verify&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;jar-no-fork&lt;/goal&gt;
                          &lt;goal&gt;test-jar-no-fork&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  
          &lt;!-- Generate javadoc, bound to deploy phase --&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.8.1&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;attach-javadocs&lt;/id&gt;
                      &lt;phase&gt;verify&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;jar&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  
          &lt;!-- Forces the compiler to 1.8 (source and target) --&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.8&lt;/source&gt;
                  &lt;target&gt;1.8&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;!-- Site generation plugin --&gt;
          &lt;plugin&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;configuration&gt;
  
                  &lt;reportPlugins&gt;
  
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.7&lt;/version&gt;
                          &lt;reportSets&gt;
                              &lt;reportSet&gt;
                                  &lt;reports&gt;
                                      &lt;report&gt;dependencies&lt;/report&gt;
                                      &lt;report&gt;project-team&lt;/report&gt;
                                      &lt;report&gt;license&lt;/report&gt;
                                  &lt;/reports&gt;
                              &lt;/reportSet&gt;
                          &lt;/reportSets&gt;
                      &lt;/plugin&gt;
  
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.9.1&lt;/version&gt;
  
                          &lt;reportSets&gt;
                              &lt;reportSet&gt;
                                  &lt;id&gt;default&lt;/id&gt;
                                  &lt;reports&gt;
                                      &lt;report&gt;javadoc&lt;/report&gt;
                                  &lt;/reports&gt;
                              &lt;/reportSet&gt;
                          &lt;/reportSets&gt;
                      &lt;/plugin&gt;
                  &lt;/reportPlugins&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>