You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kristoffer Peterh?esel (JIRA)" <ji...@codehaus.org> on 2006/01/16 14:33:01 UTC

[jira] Created: (MNGECLIPSE-44) XML namespace info should not be descarted

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNGECLIPSE-44) XML namespace info should not be descarted

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-44?page=all ]

Eugene Kuleshov updated MNGECLIPSE-44:
--------------------------------------

    Component:     (was: Wizards)

> 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

>     Versions: 0.0.3
>  Environment: Eclipse 3.1.1
>     Reporter: Kristoffer Peterhäesel
>     Assignee: 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNGECLIPSE-44) XML namespace info should not be descarted

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-44?page=all ]
     
Eugene Kuleshov closed MNGECLIPSE-44:
-------------------------------------

    Resolution: Duplicate

> 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

>     Versions: 0.0.3
>  Environment: Eclipse 3.1.1
>     Reporter: Kristoffer Peterhäesel
>     Assignee: 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org