Reputation: 89
I am upgrading to Netbeans IDE 12.3.
I am using Maven (bundled) and Tomcat (installed).
I created a library that defines/implements annotations and an annotation processor.
I created a web application which uses the library, annotations, and annotation processor.
Under the old Netbeans IDE the annotation processor was declared in two place: as a processor under libraries and again as a processor class under compiling. It worked perfectly.
There is no such place under the new IDE:
How do I declare the annotation processor?
Here is the library POM:
Here is the updated library POM:
Upvotes: 3
Views: 697
Reputation: 89
Netbeans does not provide a way to add annotation processor libraries and classes because they are, instead, declared in Maven.
I conflated two changes, upgrading my Netbeans and switching to Maven (since the new Netbeans does not support the old project structure).
I am still having difficulty with the Maven annotations but I think that's better addressed in a new question.
Thanks everyone for your help.
Upvotes: 1