title: maven cannot find symbol
body: <p>I am running a clean test on my maven project.  I am getting the following error:</p>
  
  <pre><code>[ERROR] /Users/afrieden/Projects/CLO-processing/src/main/java/com/aws/mongodb/AWSMongoLoader.java:[51,9] cannot find symbol
  [ERROR] symbol:   variable MongoUtility
  [ERROR] location: class com.aws.mongodb.AWSMongoLoader
  </code></pre>
  
  <p>I got this part from running mvn clean test.  These two classes are in the same namespace.  <code>MongoUtility</code> is a class that just has a bunch of static methods I am using to load data.  </p>
  
  <p>Versions of everything:</p>
  
  <pre><code>Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T16:58:10-04:00)
  Maven home: /usr/local/Cellar/maven/3.2.3/libexec
  Java version: 1.7.0_17, vendor: Oracle Corporation
  Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
  </code></pre>
  
  <p>Associated POM file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &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;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;CLO-processing&lt;/groupId&gt;
  &lt;artifactId&gt;CLO-processing&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;profiles&gt;
      &lt;profile&gt;
          &lt;id&gt;qa&lt;/id&gt;
          &lt;build&gt;
              &lt;plugins&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.7&lt;/source&gt;
                          &lt;target&gt;1.7&lt;/target&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;phase&gt;install&lt;/phase&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;copy-dependencies&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;outputDirectory&gt;${project.build.directory}/lib&lt;/outputDirectory&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                  &lt;/plugin&gt;
                  &lt;!--&lt;plugin&gt;--&gt;
                      &lt;!--&lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;--&gt;
                      &lt;!--&lt;artifactId&gt;versions-maven-plugin&lt;/artifactId&gt;--&gt;
                      &lt;!--&lt;version&gt;2.1&lt;/version&gt;--&gt;
                  &lt;!--&lt;/plugin&gt;--&gt;
                  &lt;!--&lt;plugin&gt;--&gt;
                      &lt;!--&lt;artifactId&gt;maven-scm-plugin&lt;/artifactId&gt;--&gt;
                      &lt;!--&lt;version&gt;1.8.1&lt;/version&gt;--&gt;
                      &lt;!--&lt;configuration&gt;--&gt;
                          &lt;!--&lt;tag&gt;${project.artifactId}-${project.version}&lt;/tag&gt;--&gt;
                      &lt;!--&lt;/configuration&gt;--&gt;
                  &lt;!--&lt;/plugin&gt;--&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.9&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;useFile&gt;false&lt;/useFile&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/build&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;in-project&lt;/id&gt;
          &lt;name&gt;In Project Repo&lt;/name&gt;
          &lt;url&gt;file://${project.basedir}/libs&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.11&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;mygroupid&lt;/groupId&gt;
          &lt;artifactId&gt;mycustomartifact&lt;/artifactId&gt;
          &lt;version&gt;2.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.groovy.modules.http-builder&lt;/groupId&gt;
          &lt;artifactId&gt;http-builder&lt;/artifactId&gt;
          &lt;version&gt;0.7&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.utgenome.thirdparty&lt;/groupId&gt;
          &lt;artifactId&gt;picard&lt;/artifactId&gt;
          &lt;version&gt;1.86.0&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.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
          &lt;artifactId&gt;aws-java-sdk&lt;/artifactId&gt;
          &lt;version&gt;1.8.5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.github.fakemongo&lt;/groupId&gt;
          &lt;artifactId&gt;fongo&lt;/artifactId&gt;
          &lt;version&gt;1.5.7&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;version&gt;1.7.7&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
          &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
          &lt;version&gt;2.1.1&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>What is going wrong here?  I am able to do <code>mvn test</code> fine with the intellij compiled class files.  Any help is appreciated!</p>