You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2006/05/24 20:34:52 UTC
[jira] Updated: (MNG-1997) document xsd support for pom and
settings in guides
[ http://jira.codehaus.org/browse/MNG-1997?page=all ]
John Casey updated MNG-1997:
----------------------------
Fix Version: 2.0.5
> document xsd support for pom and settings in guides
> ---------------------------------------------------
>
> Key: MNG-1997
> URL: http://jira.codehaus.org/browse/MNG-1997
> Project: Maven 2
> Type: Improvement
> Components: Documentation: Guides
> Versions: 2.0.2
> Reporter: Geoffrey De Smet
> Fix For: 2.0.5
>
>
> Your favorite IDE probably supports xsd schema's for pom.xml and settings.xml editing.
> Yet very few have the defined the xsd in those files because they don't know about it.
> The guides should note that pom.xml files best start with:
> <?xml version="1.0" encoding="UTF-8"?>
> <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">
> Why isn't it http://maven.apache.org/xsd/maven-v4_0_0.xsd (notice the xsd subdirectory) btw?
> and the settings.xml starts with:
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/???/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/???/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
> Of course, replace the ??? with something (I did "settings" but I ahve no idea if that's ok).
--
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