XML namespace info should not be descarted
------------------------------------------

         Key: MNGECLIPSE-44
         URL: http://jira.codehaus.org/browse/MNGECLIPSE-44
     Project: Maven 2.x Plug-in for Eclipse
        Type: Bug

  Components: Wizards  
    Versions: 0.0.3    
 Environment: Eclipse 3.1.1
    Reporter: Kristoffer Peterhäesel
 Assigned to: Eugene Kuleshov 


Since there is no POM editor in the project yet I've been adding XML header 
information so the Eclipse WTP xml editor can autocomplete.

The touble is that when I insert dependencies with the Maven 2 commands file 
seems to be rewritten with a normal <project> <whatever tags> </project> format.

A basic Maven 2 pom.xml should look something like this:

<?xml version="1.0" encoding="windows-1252"?>
<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";>
   <whatever tags>
</project>

AFAIK maven 1.1 and 2.0 both introduced actual public schema files. Might as 
well use them.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to