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

Matthew Hall edited comment on MNG-5454 at 5/1/13 9:18 PM:
-----------------------------------------------------------

Running into the same issue in mvn 3.0.3:

{code:xml}
    <build>
                <finalName>caservice</finalName>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <!--Override the parent configuration of 
excluding WEB-INF/lib/*.jar -->        
                                <configuration combine.self="override">
                                    <warName>caservice</warName>
                                </configuration>
                        </plugin>
                </plugins>
    </build>
{code:xml}

So Maven's usage of POMs in http://maven.apache.org/pom.html does not match 
what's described in it's own POM Schema, as the XSD 
http://maven.apache.org/xsd/maven-4.0.0.xsd does not contain the word combine 
at all.

Matthew.
                
      was (Author: mhcptg):
    Running into the same issue in mvn 3.0.3:

    <build>
                <finalName>caservice</finalName>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <!--Override the parent configuration of 
excluding WEB-INF/lib/*.jar -->        
                                <configuration combine.self="override">
                                    <warName>caservice</warName>
                                </configuration>
                        </plugin>
                </plugins>
    </build>

So Maven's usage of POMs in http://maven.apache.org/pom.html does not match 
what's described in it's own POM Schema, as the XSD 
http://maven.apache.org/xsd/maven-4.0.0.xsd does not contain the word combine 
at all.



Matthew.
                  
> 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