ok-netbeans opened a new issue, #6943: URL: https://github.com/apache/netbeans/issues/6943
### Apache NetBeans version Apache NetBeans 20 ### What happened When adding a new child module based on an archetype to a maven parent project, the pom.xml of the parent project is updated in order to include the new sub-module. However, after the update the pom.xml file contains a lot of additional blank lines (seems to double the number of lines). ### Language / Project Type / NetBeans Component Java Maven Project with child projects ### How to reproduce The following steps need to be performed: - create a new top-level maven project using the "Files -> New Project" and choose the project type "POM Project". **good**: observe a newly created maven project being opened in NetBeans - open the generated "pom.xml" file of that project **good**: observe that it is formatted as expected and **does** not include blank lines after each xml entry. - create a child module using the popup menu on the "Modules" entry of the maven project and choose "Create New Module" - within the "New Project" dialog choose "Project from Archetyp" and continue to the next dialog - choose any of the listed archetypes (e.g. javafx) for the child project and create the project **good**: the new child project is created and is listed within the "Modules" section of its parent **bad**: the original pom.xml file of the parent project does contain a lot of superfluous blank lines ### Did this work correctly in an earlier version? Apache NetBeans 13 or earlier ### Operating System RedHat Linux ### JDK JDK 21 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- 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
