matthiasblaesing opened a new pull request, #7662:
URL: https://github.com/apache/netbeans/pull/7662

   It was reported that this configuration snippet:
   
   ```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>
   ```
   
   works for maven, but not for NetBeans. Indeed the documentation for 
maven-compiler says, that the child element for annotationProcessorPaths is 
named path. But that is ignored by maven.
   
   Maven documentation for plugin configuration [1] declares, that for list and 
array typed configuration plugins, the name of the single entry element does 
not matter, only the name of the wrapping element is relevant. This change 
implements handling of `null` values for `pathItemName`, by considering all 
children of `pathProperty` in that case.
   
   [1] 
https://maven.apache.org/guides/mini/guide-configuring-plugins.html#mapping-collections-and-arrays
   
   
   Closes: #7658


-- 
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

Reply via email to