title: maven-compiler-plugin 3.2 compile error: cannot find symbol
body: <p>On my local machine maven deploy war to wildfly application server successful using <code>mvn wildfly:deploy</code> command on ubuntu 14.10,maven 3.13 and wildfly 8.2, but when my partner try deploy in remote server get this error:</p>
  
  <pre><code>...
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-  compiler-plugin:3.2:compile (default-compile) on project test1: Compilation failure: Compilation failure:
  [ERROR] /var/lib/jenkins/jobs/serviceProject/workspace/src/main/java/com/rest/counter/CountersBean.java:[6,17] cannot find symbol
  [ERROR] symbol:   class LocalBean
  [ERROR] location: package javax.ejb
  [ERROR] /var/lib/jenkins/jobs/serviceProject/workspace/src/main/java/com/rest/counter/CountersBean.java:[10,2] cannot find symbol
  [ERROR] symbol: class LocalBean
  [ERROR] -&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:
  </code></pre>
  
  <p>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;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.test&lt;/groupId&gt;
    &lt;artifactId&gt;test1&lt;/artifactId&gt;
    &lt;version&gt;1.0&lt;/version&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;properties&gt;
          &lt;jboss_home&gt;{JBOSS_HOME}&lt;/jboss_home&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;/properties&gt;
  
  
    &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;JBoss repository&lt;/id&gt;
          &lt;url&gt;https://repository.jboss.org/nexus/content/groups/public-jboss/&lt;/url&gt;
      &lt;/repository&gt;
    &lt;/repositories&gt;
  
    &lt;dependencies&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax.inject&lt;/groupId&gt;
          &lt;artifactId&gt;javax.inject&lt;/artifactId&gt;
          &lt;version&gt;1&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax.ejb&lt;/groupId&gt;
          &lt;artifactId&gt;ejb-api&lt;/artifactId&gt;
          &lt;version&gt;3.0&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax.enterprise&lt;/groupId&gt;
          &lt;artifactId&gt;cdi-api&lt;/artifactId&gt;
          &lt;version&gt;1.2&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
          &lt;artifactId&gt;resteasy-jaxrs&lt;/artifactId&gt;
          &lt;version&gt;3.0.13.Final&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      ...
  
    &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;finalName&gt;counterService&lt;/finalName&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                      &lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
                          &lt;version&gt;1.1.0.Alpha4&lt;/version&gt;
                          &lt;configuration&gt;
                                  &lt;jboss-home&gt;{$jboss_home}&lt;/jboss-home&gt;
                          &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.2&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;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>