Luca Mambretti created NETBEANS-521:
---------------------------------------
Summary: When editing POM properties packaging is not checked
Key: NETBEANS-521
URL: https://issues.apache.org/jira/browse/NETBEANS-521
Project: NetBeans
Issue Type: Improvement
Components: projects - Maven
Affects Versions: 9.0
Environment: Product Version: Apache NetBeans IDE Dev (Build
incubator-netbeans-linux-376-on-20180323)
Java: 1.8.0_152; Java HotSpot(TM) 64-Bit Server VM 25.152-b16
Runtime: Java(TM) SE Runtime Environment 1.8.0_152-b16
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
Reporter: Luca Mambretti
When editing project properties following:
*[Test General
properties|http://netbeans-vm.apache.org/synergy/client/app/#/case/3849/suite/2276/v/1]*
Test Case
I was able to enter anything into the packaging field, thus saving an incorrect
pom.xml file leading to the project becoming unloadable, to fix this you have
to manually edit the pom.xml file since the properties window now no longer
works.
It would be nice to have some sort of check to verify the properties entered
before saving so that if anything would lead the pom.xml file to an unloadable
state a warning is shown.
Having a drop down of available packaging options would also work but I would
personally prefer an integrity check possibly using maven's own xsd files so
that if new packaging options are added in the future they will be recognized
immediately.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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