Re: How to deploy ears to application instead of repository?
Excellent... thank you. I'll check it out. Does Maven's lifecycle end at the repository and deploying to an application one of those more customizable tasks that is not under the normal realm of Maven? The books I've looked through seem to end their deploy discussion around the repository and generally what Maven is good at is simplifying common generic tasks. I can see how a plugin would be required to do more of a customizable task like deploying to specific containers. Wendy Smoak-3 wrote: How can I use Maven to simply copy ears - retreived from the local repository, and scp them to a specific directory on a remote server? Take a look at Cargo: http://cargo.codehaus.org/ (Or you could do something as simple as exec-maven-plugin + a shell script.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-deploy-ears-to-application-instead-of-repository--tp15818671s177p15834765.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to deploy ears to application instead of repository?
Actually, Cargo seems broken, at least for JBoss. Has anyone actually remote deployed to JBoss4x successfully with Cargo? What I have read and tried is that: 1) remote stop/start does not work; mvn cargo:start gives me only local containers can be started, 2) remote deploying to JBoss appears to have a bug: http://jira.codehaus.org/browse/CARGO-416 http://www.nabble.com/JBoss-Remote-Deployment-workaround-for-HTTP-500-error-td10079769s177.html So what does this give me? You need to have the war file present on the remote system in order to hot deploy it - which ends up deployed in a tmp directory and gone after a jboss restart anyway. And without starting/stopping remotely, Cargo gives me/anyone nothing... no remote file copy, no remote jboss start/stop, no persistent war deployments... Am I missing something or is Cargo broken software? Thanks. -- View this message in context: http://www.nabble.com/How-to-deploy-ears-to-application-instead-of-repository--tp15818671s177p15838462.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to deploy ears to application instead of repository?
if you need a task which will clean,compile and deploy use ant ejb deploy task http://www.informit.com/guides/content.aspx?g=javaseqNum=155 M- - Original Message - From: gotama [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday, March 04, 2008 5:17 PM Subject: Re: How to deploy ears to application instead of repository? Actually, Cargo seems broken, at least for JBoss. Has anyone actually remote deployed to JBoss4x successfully with Cargo? What I have read and tried is that: 1) remote stop/start does not work; mvn cargo:start gives me only local containers can be started, 2) remote deploying to JBoss appears to have a bug: http://jira.codehaus.org/browse/CARGO-416 http://www.nabble.com/JBoss-Remote-Deployment-workaround-for-HTTP-500-error- td10079769s177.html So what does this give me? You need to have the war file present on the remote system in order to hot deploy it - which ends up deployed in a tmp directory and gone after a jboss restart anyway. And without starting/stopping remotely, Cargo gives me/anyone nothing... no remote file copy, no remote jboss start/stop, no persistent war deployments... Am I missing something or is Cargo broken software? Thanks. -- View this message in context: http://www.nabble.com/How-to-deploy-ears-to-application-instead-of-repositor y--tp15818671s177p15838462.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to deploy ears to application instead of repository?
Any Maven solutions? Come on guys - we're talking about copying a file from point a to point b. Cargo can't do this? Maven can't do this? If you can't tell me how Cargo can do it, how can I simply scp a file in Maven? Thanks. -- View this message in context: http://www.nabble.com/How-to-deploy-ears-to-application-instead-of-repository--tp15818671s177p15838928.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to deploy ears to application instead of repository?
It is perfectly legit to use Ant tasks in conjunction with Maven. Why write a whole plugin etc when the functionality is already available via Ant? Wayne On 3/4/08, gotama [EMAIL PROTECTED] wrote: Any Maven solutions? Come on guys - we're talking about copying a file from point a to point b. Cargo can't do this? Maven can't do this? If you can't tell me how Cargo can do it, how can I simply scp a file in Maven? Thanks. -- View this message in context: http://www.nabble.com/How-to-deploy-ears-to-application-instead-of-repository--tp15818671s177p15838928.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to deploy ears to application instead of repository?
What I'd like to do is use Maven to scp some ear artifacts to my server's JBoss deploy directory - not to a repository. How can I do this? When I use distributionManagement the ear is in fact scp'd, but with everything else related to a repository... html files and in a path of .../com/mycomp/project/. How can I use Maven to simply copy ears - retreived from the local repository, and scp them to a specific directory on a remote server? Thanks... -- View this message in context: http://www.nabble.com/How-to-deploy-ears-to-application-instead-of-repository--tp15818671s177p15818671.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to deploy ears to application instead of repository?
On Mon, Mar 3, 2008 at 6:57 PM, gotama [EMAIL PROTECTED] wrote: What I'd like to do is use Maven to scp some ear artifacts to my server's JBoss deploy directory - not to a repository. How can I do this? When I use distributionManagement the ear is in fact scp'd, but with everything else related to a repository... html files and in a path of .../com/mycomp/project/. How can I use Maven to simply copy ears - retreived from the local repository, and scp them to a specific directory on a remote server? Take a look at Cargo: http://cargo.codehaus.org/ (Or you could do something as simple as exec-maven-plugin + a shell script.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]