menny68 opened a new issue, #4552:
URL: https://github.com/apache/netbeans/issues/4552

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   building a project of type maven web application using jdk 17 source level 
17 got the following error
   
   .... Execution default-war of goal 
org.apache.maven.plugins:maven-war-plugin:2.3:war failed: Unable to load the 
mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' ...
   
   
   
   ### How to reproduce
   
   create new project
   type = maven web application
   application server glassfish 6
   javaee version = jakarta ee8 web
   
   set code source level 17
   target version 17
   
   build the project
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   ubuntu 20.04
   
   ### JDK
   
   openjdk 17
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   work around bump maven-web-plugin to version 3.3.2 in pom.xml
   
   <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-war-plugin</artifactId>
                   <version>3.3.2</version>
                   <configuration>
                       <failOnMissingWebXml>false</failOnMissingWebXml>
                   </configuration>
           </plugin>
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   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

Reply via email to