[ http://jira.codehaus.org/browse/MNGECLIPSE-132?page=all ] Eugene Kuleshov closed MNGECLIPSE-132: --------------------------------------
Resolution: Duplicate Duplicate of MNGECLIPSE-13 > plugin removes XML namespace attributes from pom.xml > ---------------------------------------------------- > > Key: MNGECLIPSE-132 > URL: http://jira.codehaus.org/browse/MNGECLIPSE-132 > Project: Maven 2.x Extension for Eclipse > Type: Improvement > Versions: 0.0.9 > Environment: Java 5, eclipse 3.2 RC5 > Reporter: Martin Ahrer > Assignee: Eugene Kuleshov > Priority: Minor > > > When adding a dependency through the context menu 'Maven 2 -> Add Dependency' > any namespace attributes are removed from the {{<project>}} element in the > pom.xml. > For example > {{<?xml version="1.0"?>}} > {{<project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd">}} > will be re-written by the plugin as > {{<?xml version="1.0"?>}} > {{<project>}} > As this namespace information supports code completion with the WTP XML > plugin this behaviour makes it difficult to edit the pom.xml manually > Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira