title: Maven doesn't save any files in the target/classes directory
body: <p>The documentation here (<a href="http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html" rel="nofollow">http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html</a>) tells me I should see files post-filtering in the <code>target/classes</code> directory. When I run <code>compile</code> or <code>package</code>, in neither case is there even a <code>classes</code> dir generated in the <code>target</code> dir, so then no files in that nonexistent dir either. (I thought it was possible they were being created during <code>compile</code> but then deleted as a byproduct of <code>package</code>.) </p>
  
  <p>Here is my directory structure. I have a main pom.xml for the parent and several child modules with their own pom.xml files, src dirs under each module.</p>
  
  <pre><code>mexp/
    mexp-model/
      src/main/java/com/pronto/…
      pom.xml
  
    mexp-services/
      src/main/java/com/pronto/…
      pom.xml
  
    mexp-webapp/
      src/
        main/
          java/
            com/
              pronto/
                mexp/
                  action/
                    LoginFormAction.java
      pom.xml
  
    pom.xml
  </code></pre>
  
  <p>Here is the <code>build</code> section from my root pom.xml:</p>
  
  <pre><code>&lt;build&gt;
      &lt;resources&gt;
          &lt;resource&gt;
              &lt;directory&gt;src/main/resources&lt;/directory&gt;
              &lt;filtering&gt;true&lt;/filtering&gt;
          &lt;/resource&gt;
      &lt;/resources&gt;
      &lt;filters&gt;
          &lt;filter&gt;${profile.directory}/${env}/tokens.properties&lt;/filter&gt;
      &lt;/filters&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;${java.version}&lt;/source&gt;
                  &lt;target&gt;${java.version}&lt;/target&gt;
                  &lt;compilerArgument&gt;-g&lt;/compilerArgument&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>FWIW, I am using Maven 3.1.1 and Java 1.6.0_65, IntelliJ 11.1.5.</p>
  
  <p>I am trying to debug filtering, so I really want to see those resulting files. Any help would be appreciated. Thanks.</p>
  
  <p>Edited: I added this to my mexp-webapp/pom.xml:</p>
  
  <pre><code>&lt;plugins&gt;
      &lt;plugin&gt;
          &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.6&lt;/version&gt;
      &lt;/plugin&gt;
      ...
  &lt;/plugins&gt;
  </code></pre>
  
  <p>When I run this from the command line with debug on, this is what it says. But no files are found in the dir where it claims it's filtering the files TO (excuse my ending preposition).</p>
  
  <pre><code>[INFO] Copying 8 resources
  [DEBUG] file apsmonitoring.properties has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/apsmonitoring.properties to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/apsmonitoring.properties
  [DEBUG] file config.xml has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/config.xml to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/config.xml
  [DEBUG] file email-configuration.properties has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/email-configuration.properties to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/email-configuration.properties
  [DEBUG] file log4j.real.xml has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/log4j.real.xml to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/log4j.real.xml
  [DEBUG] file log4j.xml has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/log4j.xml to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/log4j.xml
  [DEBUG] file mexp.properties has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/mexp.properties to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/mexp.properties
  [DEBUG] file mexp_globals.properties has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/mexp_globals.properties to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/mexp_globals.properties
  [DEBUG] file mexp_messages.properties has a filtered file extension
  [DEBUG] filtering /Volumes/xyz/mexp-removeDAL/mexp-webapp/src/main/resources/mexp_messages.properties to /Volumes/xyz/mexp-removeDAL/mexp-webapp/target/classes/mexp_messages.properties
  [DEBUG] no use filter components
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.509s
  [INFO] Finished at: Tue Jan 21 15:10:28 EST 2014
  [INFO] Final Memory: 4M/81M
  [INFO] ------------------------------------------------------------------------
  </code></pre>