You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matthew Hall (JIRA)" <ji...@codehaus.org> on 2013/07/03 01:52:07 UTC
[jira] (MNG-5454) cvc-complex-type.3.2.2: Attribute 'combine.self'
is not allowed to appear in element 'executions'.
[ https://jira.codehaus.org/browse/MNG-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=327854#comment-327854 ]
Matthew Hall commented on MNG-5454:
-----------------------------------
The code works perfectly fine in Maven CLI on a configuration element of a build, and fixes the issue we encountered. So I think the error is in the XML schema itself.
> 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
>
> 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