matthiasblaesing commented on pull request #2123: URL: https://github.com/apache/netbeans/pull/2123#issuecomment-624251538
@anthonyvdotbe netbeans does not write to the pom.xml, but it writes to a companion file `nb-configuration.xml`. The codepath to change the pom.xml is only taken, if someone added the property to the pom.xml (or a parent pom) manually (or maybe in an old version of netbeans this was done). So I put some more work into this (again, this is evaluation of the issue) and my finding: - the property is inherited from parent poms - setting the value of the property to `@@DEFAU:T@@` in a child module indeed restores this modules compiler settings to the default JDK - removing the property from the pom is thus not a good way to explicitly choose the default JDK I also checked what happens, when you set `@@DEFAULT@@` in the pom and it turns out, that the same happens as with `@@DEFAU:T@@`, the project is flagged with a warning reporting a project problem. So you found the tip of the iceberg. Do you want to go down the rabbit hole and try a full fix or stay with the fix for the typo? ---------------------------------------------------------------- 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. 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
