title: How to give an output directory in maven bundle plugin
body: <p>I started creating an OSGI bundle. So It works fine. But when I put output directory in configuration section in maven bundle plugin, it won't add any of compiled classes. simply say, the classpath is empty.I am also using maven compiler plugin. Are they conflicting each other? Is there anything which I configured in a wrong way. This is the build section of my pox.xml file.</p>
  
  <pre><code>  &lt;build&gt;
    &lt;plugins&gt;
  
        &lt;plugin&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;groupId&gt;org.apache.felix&lt;/groupId&gt;
            &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
            &lt;version&gt;1.4.0&lt;/version&gt;
            &lt;extensions&gt;true&lt;/extensions&gt;
            &lt;configuration&gt;
                &lt;instructions&gt;
                    &lt;Bundle-SymbolicName&gt;${project.artifactId}&lt;/Bundle-SymbolicName&gt;
                    &lt;Bundle-Name&gt;${project.artifactId}&lt;/Bundle-Name&gt;
                    &lt;Export-Package&gt;
                        demo.wso2.orderprocess.*
                    &lt;/Export-Package&gt;
                &lt;/instructions&gt;
                &lt;outputDirectory&gt;/home/wso2/product/wso2esb-4.9.0/repository/components/dropins&lt;/outputDirectory&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
  
    &lt;/plugins&gt;
  </code></pre>
  
  <p></p>