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

Reply via email to