I believe the correct answer was given by M Eggers in https://lists.apache.org/thread/pq84cb84w8822g9rt133vctc14nbzb9f
If I take the suggestion from that message and edit the pom.xml in the project you attached earlier, then maven will compile it correctly. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists