Hi,

I try to use the cargo-maven2-plugin to merge 2 war projects. I've got the
following error when I run the cargo:uberwar goal.

Caused by: org.apache.maven.project.InvalidProjectModelException: Not a
v4.0.0 POM. for project unknown at...

This is my pom.xml : 

        <groupId>fr.xxx</groupId>
        <artifactId>mergeProject</artifactId>
        <packaging>uberwar</packaging>
        <version>1.0-SNAPSHOT</version>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.cargo</groupId>
                                <artifactId>cargo-maven2-plugin</artifactId>
                                <version>1.0-beta-1</version>
                                <configuration>
                                <descriptor>merge.xml</descriptor>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
        <dependencies>
                <dependency>
                        <groupId>fr.xxx</groupId>
                        <artifactId>project1</artifactId>
                        <type>war</type>
                        <version>5.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>fr.xxx</groupId>
                        <artifactId>project2</artifactId>
                        <type>war</type>
                        <version>2.10-SNAPSHOT</version>
                </dependency>
        </dependencies>

I understand, uberwar is not a Maven's packaging, but it's well specified 
http://cargo.codehaus.org/Merging+WAR+files here  to use this packaging.

Thanks for your help.

Rémy.

-- 
View this message in context: 
http://www.nabble.com/cargo-maven2-plugin-tp20270526p20270526.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to