[ 
http://jira.codehaus.org/browse/MNGSITE-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170665#action_170665
 ] 

Benjamin Bentmann commented on MNGSITE-81:
------------------------------------------

The page your refer to is titled "POM Reference", i.e. is about profiles in the 
POM. As such, the examples given on this page are correct.

What would be needed is a document "Profiles Reference" or similar, that 
addresses the profiles.xml itself.

bq. It is needed to change this into <projectXmls ...>. 
As per the [XSD|http://maven.apache.org/xsd/profiles-1.0.0.xsd], <profilesXml> 
would work better :-)

> Wrong Root Element in profiles.xml examples used
> ------------------------------------------------
>
>                 Key: MNGSITE-81
>                 URL: http://jira.codehaus.org/browse/MNGSITE-81
>             Project: Maven 2 Project Web Site
>          Issue Type: Bug
>         Environment: All
>            Reporter: Karl Heinz Marbaise
>
> On the Web-Site http://maven.apache.org/pom.html#Profiles there are examples 
> which use 
> <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/xsd/maven-4.0.0.xsd";>
>   ...
> But this will produce an error with Maven 2.1.0 ....It is needed to change 
> this into <projectXmls ...>.

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

        

Reply via email to