When I say "one command" , I mean "one user command". Just 
create a script file that contains multiple maven and other 
commands. YOu understand? 

 Gordon


Quoting Evan Bollig <[EMAIL PROTECTED]>:

> Im running maven 2 and need to deploy a war to a remote tomcat server.
> The goal is to limit the deployment to one command: mvn tomcat:deploy
> or mvn cargo:deploy, so checking out a plugin (i.e. the latest
> tomcat-maven-plugin) and manually compiling it is not an option; if
> this can be automated by maven I havent figured out how. I found two
> pre-deployed plugins: cargo and the maven-tomcat-plugin, but I cant
> get either one configured correctly. From the cargo docs, I found how
> to specify the remote host, username, etc, but I still face a problem
> that the server is apache-tomcat 5.5.15 and the manager url ends with
> /manager/html instead of /manager the way cargo is pre-configured. As
> for the other plugin, once I got maven to download
> tomcat-maven-plugin-1.0-SNAPSHOT from snapshots.maven.codehaus.org, I
> found that it wont accept a different destination url (even though I
> follow to a T what the docs say should work).
> 
> Im sure someone on this list has gone through this process before. Can
> you post some tips, or an example of a working pom that does a remote
> deployment?
> 
> Thanks,
> --
> -Evan Bollig
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Gordon Erlebacher
489 Dirac Science Library
Florida State University
Tallahassee, FL 32309
Tel: (850) 644-0186
FAX: (850) 644-0098

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

Reply via email to