title: Why does the m2e plugin build to a WEB-INF/classes in the target folder for a maven jar project?
body: <p>Since I am packaging a jar (i.e. Maven jar project), I don't know why m2e insists on setting the Eclipse project's source folder's output to write to target/<strong>WEB-INF</strong>/classes.  I tried changing it to point to build/classes, but as soon as I do a <code>Maven -&gt; Update Project</code> it changes it back.
  Why? Am I missing a project level setting?</p>
  
  <p>Update: Added pom.xml</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;parent&gt;
          &lt;groupId&gt;com.mycompany.ta.wh&lt;/groupId&gt;
          &lt;artifactId&gt;sales-master-pom&lt;/artifactId&gt;
          &lt;!-- &lt;version&gt;0.0.18&lt;/version&gt; --&gt;
          &lt;version&gt;[0.0.1,2.0.0)&lt;/version&gt;
      &lt;/parent&gt;
      &lt;artifactId&gt;amq2gcppubsub&lt;/artifactId&gt;
      &lt;version&gt;0.1.33-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
      &lt;name&gt;Amq2GcpPubsub&lt;/name&gt;
      &lt;description&gt;Subscribes to an ActiveMQ queue and publishes to a Google Cloud Platform Pubsub Topic.&lt;/description&gt;
      &lt;scm&gt;
          &lt;connection&gt;scm:git:git://github.mycompany.com/DNA/amq2gcppubsub&lt;/connection&gt;
          &lt;developerConnection&gt;scm:git:ssh://github.mycompany.com/DNA/amq2gcppubsub&lt;/developerConnection&gt;
          &lt;url&gt;https://github.mycompany.com/DNA/amq2gcppubsub&lt;/url&gt;
          &lt;tag&gt;HEAD&lt;/tag&gt;
      &lt;/scm&gt;
  
      &lt;properties&gt;
          &lt;!-- DEPENDENCY VERSIONS --&gt;
          &lt;javabatch.version&gt;3.1&lt;/javabatch.version&gt;
          &lt;activemq.version&gt;5.8.0&lt;/activemq.version&gt;
          &lt;!--  Override master pom because conflicts with activemq's slf4j version --&gt;
          &lt;slf4j.api.version&gt;1.6.6&lt;/slf4j.api.version&gt; 
      &lt;/properties&gt;
      &lt;dependencies&gt;
  &lt;!--        &lt;dependency&gt; --&gt;
  &lt;!--            &lt;groupId&gt;org.slf4j&lt;/groupId&gt; --&gt;
  &lt;!--            &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt; --&gt;
  &lt;!--            &lt;version&gt;1.6.6&lt;/version&gt;  --&gt;
  &lt;!--        &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
              &lt;version&gt;1.6.6&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
  &lt;!--        &lt;dependency conf="runtime" org="org.slf4j" name="slf4j-log4j12" rev="1.7.6"&gt; --&gt;
  &lt;!--            &lt;exclude module="log4j" /&gt; --&gt;
  &lt;!--        &lt;/dependency&gt; --&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.mycompany.ta.aa&lt;/groupId&gt;
              &lt;artifactId&gt;JavaBatch&lt;/artifactId&gt;
              &lt;version&gt;${javabatch.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
              &lt;version&gt;4.3.3.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt; &lt;!-- Required by JavaBatch --&gt;
              &lt;groupId&gt;com.mycompany.ss.sh&lt;/groupId&gt;
              &lt;artifactId&gt;THDDAO_TaAaDistributedBatch&lt;/artifactId&gt;
              &lt;version&gt;2.15&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.http-client&lt;/groupId&gt;
              &lt;artifactId&gt;google-http-client&lt;/artifactId&gt;
              &lt;version&gt;1.22.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.http-client&lt;/groupId&gt;
              &lt;artifactId&gt;google-http-client-jackson2&lt;/artifactId&gt;
              &lt;version&gt;1.22.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.oauth-client&lt;/groupId&gt;
              &lt;artifactId&gt;google-oauth-client&lt;/artifactId&gt;
              &lt;version&gt;1.22.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.api-client&lt;/groupId&gt;
              &lt;artifactId&gt;google-api-client&lt;/artifactId&gt;
              &lt;version&gt;1.22.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.apis&lt;/groupId&gt;
              &lt;artifactId&gt;google-api-services-pubsub&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
              &lt;version&gt;3.0.1&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mycompany.ta.aa&lt;/groupId&gt;
              &lt;artifactId&gt;THDDAO&lt;/artifactId&gt;
              &lt;version&gt;2.17&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
              &lt;artifactId&gt;activemq-client&lt;/artifactId&gt;
              &lt;version&gt;${activemq.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mycompany.ta.aa&lt;/groupId&gt;
              &lt;artifactId&gt;tomarch&lt;/artifactId&gt;
              &lt;version&gt;3.3.27&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-io&lt;/groupId&gt;
              &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
              &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
              &lt;version&gt;3.4&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>