Have you tried the jboss-maven-plugin from Mojo project? I don't know
if it works better/different than Cargo, but perhaps its worth trying
out.
http://mojo.codehaus.org/jboss-maven-plugin/usage.html

Another way you can deploy your project would be to simply use the
"normal" JBoss deployment tools (via command line or web control
panel).

Cargo simply tries to make things easier for you. If it doesn't work
the way you want/need, then you'll need to simply package your WAR/EAR
using Maven and then deploy into your container using the
JBoss-provided tools.

Wayne

On 5/22/07, Shilpa Khondre <[EMAIL PROTECTED]> wrote:
I have one doubt regarding remote deployment :

>> 1) I am using cargo-maven2 plugin.

>>                      <plugin>

>>                      <groupId>org.codehaus.cargo</groupId>

>>                      <artifactId>cargo-maven2-plugin</artifactId>

>>                      <version>0.3-SNAPSHOT</version>

>>                      <configuration>

>>                            <container>

>>                                  <containerId>jboss4x</containerId>

>>                                  <type>remote</type>

>>                            </container>

>>                            <configuration>

>>                             <type>runtime</type>

>>

>>                                   <properties>

>>

>>


>> <cargo.hostname>1.2.3.5</cargo.hostname>

>>

>>


>> <cargo.servlet.port>8085</cargo.servlet.port>

>>

>>                                   </properties>

>>

>>                               </configuration>

>>                            <deployer>

>>

>>                                     <type>remote</type>

>>

>>                                     <deployables>

>>

>>                                           <deployable>

>>

>>

>> <groupId>CSA_CS</groupId>

>>

>>
<artifactId>2.4-SNAPSHOT</artifactId>

>>
<location>/root/csacore/CSA_CS/target/csa24.war</location>

>>

>>                                        </deployable>

>>                                        </deployables>

>>

>>                               </deployer>

>>                      </configuration>

>>                </plugin>

>>

>> I have following doubt :

>> 1) By using this remote deployment war gets deployed in tmp dir of
jboss not in deploy dir of jboss. Hence if we restart jboss it won't
contain particular war file.

>> 2) Some times it try to find the file (war file) in same location as
that of local machine from where we have given mvn deploy command even
if we have given location tag with war file path??

>>

>> Is their any other way so that I can deploy my war on remote jboss
and jetty server?? I am ready to use another plugin also not just cargo
plugin.

>>

>>

>>

>> Thanks,

>> Shilpa





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

Reply via email to