NetBeans will use either the project POM or profiles.xml to record NetBeans specific information. To prevent NetBeans from writing to the POM (and affecting all developers) you should create a profiles.xml file in your web project's root.:

<?xml version="1.0" encoding="UTF-8"?>
<profilesXml>
    <profiles>
        <profile>
            <id>netbeans-private</id>
            <activation>
                <property>
                    <name>netbeans.execution</name>
                    <value>true</value>
                </property>
            </activation>
            <properties>
                <netbeans.hint.deploy.server></netbeans.hint.deploy.server>
                <netbeans.deployment.server.id></netbeans.deployment.server.id>
            </properties>
        </profile>
    </profiles>
</profilesXml>

NetBeansMavenProfile (last edited 2010-02-11 11:29:41 by DavidKeen)