matthiasblaesing opened a new issue, #7658:
URL: https://github.com/apache/netbeans/issues/7658
### Apache NetBeans version
Apache NetBeans 22
### What happened
When a maven project has a `pom.xml` with a `annotationProcessorPaths`
configuration, where the element names are not `path` like this:
```xml
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<parameters>true</parameters>
<annotationProcessorPaths>
<annotationProcessorPath>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>1.5.5.Final</version>
</annotationProcessorPath>
<annotationProcessorPath>
<groupId>io.soabase.record-builder</groupId>
<artifactId>record-builder-processor</artifactId>
<version>42</version>
</annotationProcessorPath>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
```
the annotation processors are not found/ran, as NetBeans currently expects
the children of `annotationProcessorPaths` are named `path`:
```xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<parameters>true</parameters>
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>1.5.5.Final</version>
</path>
<path>
<groupId>io.soabase.record-builder</groupId>
<artifactId>record-builder-processor</artifactId>
<version>42</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
```
Full project:
[annotation-processor-netbeans-reproducer.zip](https://github.com/user-attachments/files/16570859/annotation-processor-netbeans-reproducer.zip)
### Language / Project Type / NetBeans Component
Java Maven project
### How to reproduce
Open attached test project in NetBeans
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu 24.04
### JDK
Amazon Corretto 21
### Apache NetBeans packaging
Own source build
### Anything else
_No response_
### Are you willing to submit a pull request?
Yes
--
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