You can use the Cargo plugin in maven to ge the functionality that you need.
They support deployment to a number of containers.

Scott Ryan
Chief Technology Officer
Soaring Eagle L.L.C.
[EMAIL PROTECTED]
www.soaringeagleco.com
(303) 263-3044

-----Original Message-----
From: Francisco Treacy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 5:49 AM
To: [email protected]
Subject: j2ee deploy with maven?


Hi there!

I'm new to Maven and I'm having some trouble with deployment-oriented
tasks...

I recently discovered that Maven doesn't support J2EE-server deployment
"out-of-the-box", and I'm trying to build up this part for our application.
I have some questions cause I couldn't find the right answers on the web.

1. What do you suggest me to do in case of having a JBoss server and want to
copy/deploy files to it? (Not only jars+wars but lots of xmls, too)
Conceptually, where does this task belong to? Should I extend the default
lifecycle to be able to execute, e.g.: mvn -e jboss-deploy? What have you
guys done?

2. Regarding these issues, we've created a new type of artifact that
packages everything that should be deployed, although we ignore if it's the
good way to do so. We would like to use Maven (through a plugin) to handle
this special artifact by resolving* its path to the actual network/disk
resource, and decompress it into our J2EE server folders.
(*) So there is our problem: what's the mechanism to resolve an
artifact/dependency programmatically in our plugin?

 Thanks in advance for your replies,

Francisco




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

Reply via email to