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.
If you set server in project properties, context path is set to /mavenproject1-1.0-SNAPSHOT instead of /mavenproject1. Might be related to bug 202760. The bug 199482 is similar but only for GlassFish when changing context path. To reproduce: - register GlassFish or Tomcat server to IDE - create maven web project - open project properties - select Run category - choose GlassFish server and context path is changed to /mavenproject1-1.0-SNAPSHOT but it should be /mavenproject1 Product Version: NetBeans IDE Dev (Build 201110020601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Fixed in: http://hg.netbeans.org/web-main/rev/94087645e55b
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/94087645e55b User: Martin Janicek <mjanicek@netbeans.org> Log: #202964 - Wrong default context root set for maven web project