[ https://issues.apache.org/jira/browse/NETBEANS-5892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Schuster updated NETBEANS-5892: -------------------------------------- Attachment: errorlog1.txt > Java Maven Web Project not created properly > ------------------------------------------- > > Key: NETBEANS-5892 > URL: https://issues.apache.org/jira/browse/NETBEANS-5892 > Project: NetBeans > Issue Type: Bug > Affects Versions: 12.4 > Environment: *NetBeans* version > 12.4 > *JDK* version > zulu16.32.15 (default), JDK version 8 and 11 installed as well > *OS* > Windows 10 pro, Version 20H2, Build 19042.1110 > Reporter: Thomas Schuster > Priority: Major > Attachments: 1_used_create_dialog.png, 2_bundled_maven.png, > 3_pom.png, 4_index_page_missing.png, errorlog1.txt, mavenproject2.zip, > mavenproject3.zip > > > *Short description* > Using the create Java Maven Web project results in a project that cannot be > build for nor run on a Jakarta EE 8 server. I provided the created result > (mavenproject2.zip) and an altered project which can be built and deployed > (mavenproject3.zip) - I would expect the latter to be generated. > *Exact steps* > # Create new project (Java with Maven, Web Application) > # Execute Clean & Build on this project > # Build will fail because of default maven-war plugin (Version 2.2) of > bundled maven. version. > # Now execute Clean & Build again with success > # Execute Run. > # Deployment will fail because of unsupported Java version. Generator > creates a project with compiler set to Java 11. > # Reset compiler version to Java 8. > # Now execute Clean & Build again with success. > # Execute Run, project is successfully deployed. > # Welcome page is triggered but not found (not created in fact). > *Actual results* > Web project that includes microprofile configuration and cannot be build and > deployed directly from generated sources. Java compiler level is set to be > 11, there are some configuration options based on IBM (Openliberty I believe) > and there are microprofile configuration options being used in a sample Jax > RS service. > Minor: The pom.xml is not indented properly. > *Expected results* > Web project that is Jakarta EE 8 compliant and that can be build and run on a > Jakarta EE Server (in my case: Payara Server 5.201.4). > Also, in my opinion the project should deliver a welcome page and be minimal > in terms of dependencies and contents (that means also removing microprofile > configuration). -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists