title: Maven not create .class file in target dir
body: <p>I am creating osgi bundle by using maven bundle plugin in eclipse.In my application I have non maven jar file on which most of the java classes are depend in my application. my pom.xml file is as follow.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;build&gt;
      ...
  
      &lt;plugins&gt;
          ....
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
              &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2.0&lt;/version&gt;
              &lt;extensions&gt;true&lt;/extensions&gt;
              &lt;configuration&gt;
                  &lt;instructions&gt;
                      &lt;Bundle-Activator&gt;org.myapp.Activator&lt;/Bundle-Activator&gt;
                      &lt;Include-Resource&gt;a1.jar=${basedir}/src/main/java/lib/a1.jar,a2.jar=${basedir}/src/main/java/lib/a2.jar,a3.jar=${basedir}/src/main/java/lib/a3.jar&lt;/Include-Resource&gt;
                      &lt;Bundle-ClassPath&gt;.,${basedir}/src/main/java/lib/a1.jar,${basedir}/src/main/java/lib/a2.jar,${basedir}/src/main/java/lib/a3.jar&lt;/Bundle-ClassPath&gt;
  
                  &lt;/instructions&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;!-- Maven Compiler plugin --&gt;
          &lt;plugin&gt;
              &lt;inherited&gt;true&lt;/inherited&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;includes&gt;
                      &lt;include&gt;${project.basedir}/src/main/java/**&lt;/include&gt;
                  &lt;/includes&gt;
                  &lt;source&gt;1.6&lt;/source&gt;
                  &lt;target&gt;1.6&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          ....
  
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>By using this I can build my application successfully and my final jar bundle also contains all needed jar files but the <strong>problem is, there is no .class file in the final bundle and my target directory also doesnt contain any .class file.</strong></p>
  
  <p>If I remove <strong>includes tag</strong> from maven-compiler-plugin then I got class does not exist error.</p>
  
  <p>So please tell me what is the problem with above code <strong>which does not create .class files in target directory and also in final bundle.</strong></p>