[ 
https://issues.apache.org/jira/browse/NETBEANS-4300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Vanelverdinghe updated NETBEANS-4300:
---------------------------------------------
    Description: 
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.

  was:
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




> 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
>          Time Spent: 1h 10m
>  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

Reply via email to