[
https://issues.apache.org/jira/browse/NETBEANS-4300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomáš Procházka closed NETBEANS-4300.
-------------------------------------
> Typo in "default platform" value for Maven property netbeans.hint.jdkPlatform
> -----------------------------------------------------------------------------
>
> Key: NETBEANS-4300
> URL: https://issues.apache.org/jira/browse/NETBEANS-4300
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: Next
> Reporter: Anthony Vanelverdinghe
> Assignee: Anthony Vanelverdinghe
> Priority: Major
> Labels: pull-request-available
> Fix For: 12.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> To reproduce:
> * create a new maven project
> * add the entry
> <netbeans.hint.jdkPlatform>JDK_13</netbeans.hint.jdkPlatform> to the
> properties in the pom.xml
> * open the project properties dialog go to Build -> Compile
> * Switch "Java Platform" to the entry that is marked "(Default)".
> * Acknowledge the change with OK
> * Check pom.xml
>
> {quote}Why not remove the property from the POM? (override the value from a
> parent pom?)
> {quote}
> Not sure if I understand what you're asking, but if it is: why don't you
> remove the property from the POM? Then, yes, it doesn't make sense to specify
> {{@@DEFAULT@@}} as the value, but if NetBeans writes it to the POM, it should
> at least do so without typos. And ideally it shouldn't write it to the POM at
> all, but that's an issue of its own
> {quote}How is this story about backwards compatibility?
> {quote}
> Imho this is a negligible issue. At worst, people will get an {{Unresolved
> project problem}} saying {{No such Java Platform: @@DEFAU:T@@}}, upon which
> they'll select a Java Platform of their choosing in the settings and that's
> it. But I doubt this will impact many users at all.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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