title: Annotation processor is not being invoked by the maven compiler plugin
body: <p>I have written my annotation processor as a separate maven project, it contains my custom annotation and its processor. I have added this project as a dependency to a project where the classes have been annotated with the custom annotation. I want this processor to be invoked as part of the maven build.</p>
  
  <p>Following is the pom snippet - </p>
  
  <pre><code>&lt;!-- Compiler configuration --&gt;
  
  &lt;plugin&gt;
    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&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.8&lt;/source&gt;
      &lt;target&gt;1.8&lt;/target&gt;
      &lt;annotationProcessorPaths&gt;
         &lt;path&gt;
             &lt;groupId&gt;com.test.processor&lt;/groupId&gt;
             &lt;artifactId&gt;processor&lt;/artifactId&gt;
             &lt;version&gt;1.0.0&lt;/version&gt;
         &lt;/path&gt;
      &lt;/annotationProcessorPaths&gt;
    &lt;/configuration&gt;
  &lt;/plugin&gt;
  
  &lt;!-- dependency for processor project --&gt;
  
   &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.test.processor&lt;/groupId&gt;
          &lt;artifactId&gt;processor&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
      &lt;/dependency&gt;
   &lt;/dependencies&gt;   
  </code></pre>
  
  <p>But the problem is that, the annotation processor is not getting triggered. Am I missing something or doing anything wrong.</p>
  
  <p>Kindly guide me on this.</p>