title: How to load classes from target instead of from jar in maven pom
body: <p>We have a multi module maven project where previously we load our classes from a jar dependency as below</p>
  <pre><code>&lt;plugin&gt;   
    &lt;groupId&gt;xxxx&lt;groupId&gt;
    &lt;artifactId&gt;xxx&lt;artificatId&gt;
    &lt;version&gt;xxx&lt;/version&gt;
    &lt;dependencies&gt;
     &lt;dependency&gt;
       &lt;groupId&gt;yyyy&lt;groupId&gt;
       &lt;artifactId&gt;yyyy&lt;artificatId&gt;
       &lt;version&gt;yyy&lt;/version&gt;
      &lt;/dependency&gt;
      .
      .
    &lt;/dependencies&gt;
   &lt;/plugin&gt;
  </code></pre>
  <p>Now due to business requirement,</p>
  <ol>
  <li>I want remove dependency (yyyy) and use that dependency code as part
  of project/src folder</li>
  <li>No more dependency used -- business condition
  3.. Plugin XXX has to load classes from project/target of project.</li>
  </ol>
  <p>Issue here is when plugin xxx is running it is looking for classes which are defined as dependency but not from project target folder.</p>
  <p>Please suggest how to proceed ?</p>