Ed Ipser
Ed Ipser

Reputation: 89

Netbeans+Maven+Annotations: Can't add annotation processor

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?

enter image description here

Here is the library POM:

enter image description here

Here is the updated library POM:

enter image description here

Upvotes: 3

Views: 697

Answers (1)

Ed Ipser
Ed Ipser

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

Related Questions