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

 

Reply via email to