This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 220991 - netbeans adds redundant hint of server to the pom.xml
Summary: netbeans adds redundant hint of server to the pom.xml
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-29 08:29 UTC by medeag
Modified: 2013-01-29 11:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description medeag 2012-10-29 08:29:05 UTC
I have checked out web project from repository when i select server for it, netbeans adds redundant lines to pom.xml 

<netbeans.hint.deploy.server>Tomcat</netbeans.hint.deploy.server>

I'm forced to remove it manually, since it is useless for my colleagues who are using eclipse.
I don't think Netbeans should add this hint by default or at least it should ask developer's permission.
Comment 1 medeag 2012-10-29 08:29:38 UTC
Product Version: NetBeans IDE Dev (Build 201210280001)
Updates: Updates available
Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_05-b06
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 2 Martin Janicek 2012-10-29 15:11:09 UTC
Sounds like a J2EE Maven problem..
Comment 3 Martin Janicek 2013-01-29 11:03:46 UTC
Fixed together with Maven Java EE 7 implementation in: web-main #89d0da06af1b

The fix is currently only in javaee7 branch, not in trunk, so it will be part
of the 7.3.1 release, but it's not possible to test it in the current daily
builds.