maven-processor-plugin to ignore undefined symbols
问题 I've JPA 2 maven project and I want to process sources to have the static meta model. What I did I took JBoss' static meta model processor and set it up to run during generate-sources phase. Now, obviously I have some classes that reference the meta model and compilation itself goes fine. But maven-processor-plugin itself generates errors complaining that it can't find symbols from meta model like this: [INFO] --- maven-processor-plugin:2.2.4:process (process) @ ng-grid-java --- [ERROR]