[ 
https://jira.codehaus.org/browse/MNG-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324555#comment-324555
 ] 

Olivier Lamy commented on MNG-5454:
-----------------------------------

AFAIK this is supported only in configuration element.
Looks to be more an issue with Spring Source IDE which has probably now a more 
strict validation ?
The main question is: does it work or not with Maven cli ? :-)
                
> 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

Reply via email to