[
https://jira.codehaus.org/browse/MNG-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338390#comment-338390
]
Robert Scholte commented on MNG-5454:
-------------------------------------
{code:xml|title=http://maven.apache.org/xsd/maven-4.0.0.xsd}
...
<xs:element name="configuration" minOccurs="0">
<xs:annotation>
<xs:documentation source="version">4.0.0</xs:documentation>
<xs:documentation source="description">The configuration of the reporting
plugin.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
...
{code}
The title of this issue refers to executions. The 'combine.self' can never be
used on this element, only within the configuration element(read the article of
my previous comment). As you can see in the xsd snippet, what goes between the
configuration-tag can be anything, as long as it is valid XML.
> cvc-complex-type.3.2.2: Attribute 'combine.self' is not allowed to appear in
> element 'executions'.
> --------------------------------------------------------------------------------------------------
>
> Key: MNG-5454
> URL: https://jira.codehaus.org/browse/MNG-5454
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: POM
> Affects Versions: 3.0.4
> Environment: springsource3.2.0_with_Juno3.8.2
> Reporter: Sebastien Tardif
> Assignee: Robert Scholte
>
> This generate an error:
> <plugin>
>
> <artifactId>maven-antrun-plugin</artifactId>
> <executions
> combine.self="override" >
> <execution>
>
> <id>default-cli</id>
> <goals>
>
> <goal>run</goal>
> </goals>
> <configuration>
> <tasks>
>
> <delete dir="${tomcat.home}/webapps/ROOT" />
>
> <delete dir="${tomcat.home}/webapps/rest" />
>
> <delete dir="${tomcat.home}/webapps/solr" />
> </tasks>
> </configuration>
> </execution>
> </executions>
> </plugin>
--
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