Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Labels:None
-
Environment:All
-
Number of attachments :
Description
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 ...>.
Issue Links
- relates to
-
MNGSITE-102
Misleading documentation on the schema of profiles.xml
-
Activity
Herve Boutemy
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue relates to |
Herve Boutemy
made changes -
| Description |
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 ...>. |
On the Web-Site http://maven.apache.org/pom.html#Profiles there are examples which use
{code:xml}<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"> ...{code} But this will produce an error with Maven 2.1.0 ....It is needed to change this into <projectXmls ...>. |
Herve Boutemy
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Cannot Reproduce [ 5 ] |
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.
As per the XSD, <profilesXml> would work better