[infinispan-issues] [JBoss JIRA] (ISPN-3040) Infinispan Common Parent POM doesn't follow its schema
Tristan Tarrant (JIRA)
jira-events at lists.jboss.org
Wed Apr 24 04:44:55 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-3040:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/1785
> Infinispan Common Parent POM doesn't follow its schema
> ------------------------------------------------------
>
> Key: ISPN-3040
> URL: https://issues.jboss.org/browse/ISPN-3040
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.5.Final, 5.3.0.Alpha1
> Reporter: Vladimir Dosoudil
> Assignee: Tristan Tarrant
>
> The POM of Infinispan Common Parent (parent/pom.xml) is invalid against its [schema|http://maven.apache.org/xsd/maven-4.0.0.xsd]:
> {code}
> parent/pom.xml:1800: element configuration: Schemas validity error : Element '{http://maven.apache.org/POM/4.0.0}configuration', attribute 'combine.self': The attribute 'combine.self' is not allowed.
> parent/pom.xml:1851: element configuration: Schemas validity error : Element '{http://maven.apache.org/POM/4.0.0}configuration', attribute 'combine.self': The attribute 'combine.self' is not allowed.
> {code}
> The [commit|https://github.com/infinispan/infinispan/commit/1ade18efcfcd73dadbb5e66e3f43872087f5f0ad] for [JBQA-6819|https://issues.jboss.org/browse/JBQA-6819] brings the attribute _combine.self_ for the _configuration_ element. This attribute is not allowed for the _configuration_ element but for its children, see [POM Reference|http://maven.apache.org/pom.html]:
> {quote}
> You can control how child POMs inherit configuration from parent POMs by adding attributes *to the children of the configuration element*. The attributes are combine.children and combine.self. Use these attributes in a child POM to control how Maven combines plugin configuration from the parent with the explicit configuration in the child.
> {quote}
> Checked on 5.2.x branch but the bug is on both branches 5.2.x and master.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list