You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rémy <re...@gmail.com> on 2008/10/31 18:22:03 UTC
cargo-maven2-plugin
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven and deploy into one jboss
Posted by Rafael Trestini <tr...@gmail.com>.
Hi,
Take a look at Cargo Plugin [1]. But, if you only need to copy your package
into hotdeploy dir, you can just do a batch file to do it ;-)
Rafael Trestini
Refs:
[1] http://cargo.codehaus.org/Maven2+plugin
On Mon, Nov 3, 2008 at 11:03 PM, Koxkorrita <ko...@laudio.info> wrote:
> Hello
>
> i have my forst j2ee project using maven.
> how can i deploy the j2ee project (war) into one local jboss using maven?
> can you help me?
> thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Responsibility is the price of freedom
maven and deploy into one jboss
Posted by Koxkorrita <ko...@laudio.info>.
Hello
i have my forst j2ee project using maven.
how can i deploy the j2ee project (war) into one local jboss using maven?
can you help me?
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cargo-maven2-plugin
Posted by Rémy Sanlaville <re...@gmail.com>.
Hi Rémy,
You'd better ask your question directly to the cargo mailing list (cf.
http://www.nabble.com/Cargo---User-f2406.html).
Rémy