You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Koxkorrita <ko...@laudio.info> on 2008/11/20 21:56:43 UTC

maven and jboss ¿where must i to writte the deploy code?

Hello
i am trying to deploy one application using cargo into one JBoss.
my app strutture is this:

parentProyect (multimodule project) (pom.xml->packaging: pom)
two web modules (pom.xml->packaging: war)
one ear module(pom.xml->packaging: ear)
one core module(pom.xml->packaging: jar)


for deplying i put the next code into part proyect but it doesnt deploy.
i have in this moment 2 questions:
1.- into which pom.xml file must i put te bellow code for deploying? into 
the parent? into the ear? into the all pom.xml files?
2.- is correct for deplouying the bellowcode?

thanks

<plugin>
    <groupId>org.codehaus.cargo</groupId>
    <artifactId>cargo-maven2-plugin</artifactId>
    <configuration>
        <wait>false</wait>
        <container>
            <containerId>jboss4x</containerId>
            <zipUrlInstaller>
                <url>
                    http://downloads.sourceforge.net/jboss/jboss-4.0.2.zip
                </url>
                <installDir>${installDir}</installDir>
            </zipUrlInstaller>
        </container>
        <configuration>
            <home>
                c:\jboss4x\container
            </home>
        </configuration>
    </configuration>
</plugin>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven and jboss ¿where must i to writte the deploy code?

Posted by Wayne Fay <wa...@gmail.com>.
> i am trying to deploy one application using cargo into one JBoss.
> my app strutture is this:

Since you are asking about the Cargo plugin, you should really ask on
the Cargo Users list...

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org