sdedic opened a new pull request #3190: URL: https://github.com/apache/netbeans/pull/3190
The reason for [NETBEANS-6044](https://issues.apache.org/jira/browse/NETBEANS-6044) is that Maven returned just compilation classpath for the "classpath/processor". In fact, the `maven-compiler-plugin` can specify path to look for annotation processors and if it does, only that path should be used (see [annotationProcessorPaths](https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html)). This PR causes Maven projects to return a separate Classpath, which is either `classpath/compile`, if the plugin does not configure any annotation processor paths, or that explicit setting. Since the plugin can be configured differently for different goals, test sources may get its own annotation processor path - this is also covered. The impl should adapt the classpath if the POM file changes (i.e. the `annotationProcessorPaths` element is removed / added / changed) and the processor classpath reports broken artifact references. As part of the process, I've added a new API helper method to `PluginPropertyUtils` since getting artifact path + dependencies is not that trivial as it seemed to initially. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
