You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nicolas Echegut (JIRA)" <ji...@apache.org> on 2019/04/14 17:37:00 UTC

[jira] [Commented] (MNG-6639) child.(x.y).inherit.append.path attributes not defined in Maven POM XSD

    [ https://issues.apache.org/jira/browse/MNG-6639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16817367#comment-16817367 ] 

Nicolas Echegut commented on MNG-6639:
--------------------------------------

The issue can be reproduced with a simple online XML validator such as: [https://www.freeformatter.com/xml-validator-xsd.html]

Use the attached sample POM as the XML Input.

> child.(x.y).inherit.append.path attributes not defined in Maven POM XSD
> -----------------------------------------------------------------------
>
>                 Key: MNG-6639
>                 URL: https://issues.apache.org/jira/browse/MNG-6639
>             Project: Maven
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.6.0, 3.6.1
>            Reporter: Nicolas Echegut
>            Priority: Major
>         Attachments: test-parent-pom.xml
>
>
> The child inherit.append.path attributes, introduced in Maven 3.6.0, are not defined in the Maven POM XML Schema Definition: [http://maven.apache.org/xsd/maven-4.0.0.xsd]
> This is causing XML Validators to report the following error: _cvc-complex-type.3.2.2: Attribute 'child.site.url.inherit.append.path' is not allowed to appear in element 'site'._
> The error is for instance visible in Eclipse POM editor or while attempting to deploy artifacts to Maven Central, as they validate project POMs against [maven-4.0.0.xsd|http://maven.apache.org/xsd/maven-4.0.0.xsd].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)