Exactly wayne!

I´m using the cargo to copy my EAR to a remote server, but i get an fatal
error. I tried to join the cargo mailing list, but i can´t access the web
page from de cargo site. I thought the subscribe e-mail was
[EMAIL PROTECTED] but i received a daemon mail from de
codehaus.org site.

In the documentation i didn´t see if i must configure the remote machine in
the settings.xml or if i can configure in the pom.xml.

Anyway my pom´s configuration is like this:
...
    <plugin>
       <groupId>org.codehaus.cargo</groupId>
       <artifactId>cargo-maven2-plugin</artifactId>

       <executions>
         <execution>
           <id>verify-deploy</id>
           <phase>install</phase>
           <goals>
             <goal>deployer-deploy</goal>
           </goals>
         </execution>
         <execution>
           <id>clean-undeploy</id>
           <phase>pre-clean</phase>
           <goals>
             <goal>deployer-undeploy</goal>
           </goals>
         </execution>
       </executions>

       <configuration>
         <!-- Container Configuration -->
         <container>
           <containerId>jboss4x</containerId>
           <type>remote</type>
         </container>

            <configuration>
               <type>runtime</type>
               <properties>
                 <cargo.hostname
scp:extssh:[EMAIL PROTECTED]:/opt/jboss-4.0.1sp1
/server/default</cargo.hostname>
                 <cargo.remote.username>user</cargo.remote.username>
                 <cargo.remote.password>password</cargo.remote.password>
               </properties>
            </configuration>

  <!-- Deployer and Deployables configuration -->
          <deployer>
              <type>remote</type>
             <deployables>
               <deployable>
                 <groupId>br.com.myApp</groupId>
                 <artifactId>myAppEAR</artifactId>
                 <type>ear</type>
              </deployable>
            </deployables>
          </deployer>
       </configuration>
     </plugin>

...

</plugins>

</build>

The fatal error that i received:
[INFO] [cargo:deployer-deploy {execution: verify-deploy}]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Not supported
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Not supported
       at org.codehaus.cargo.container.spi.deployer.AbstractDeployer.deploy
(Ab
tractDeployer.java:56)
...

It seems that i must configure jboss4x in someWhere that i don´t know...
Any clue???

Regards



2006/5/25, Wayne Fay <[EMAIL PROTECTED]>:

In the Maven world, deploy means "copy my artifact to a Maven repo".

Are you talking about the J2EE meaning of the word "deploy" ie "deploy
my webapp into JBoss"? If so, look at the Cargo website and their M2
plugin, it is also well-documented.

Wayne

On 5/25/06, Leo L <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I need help to:
> How can I configure to deploy my app remotelly?
> Which plugin is best for the task...
> Any pom´s example...
>
> Any help would be great...
>
> Regards,
> Leo
>
>

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


Reply via email to