views:

9

answers:

0

We have a maven project that creates a common service used on jboss. This service also has a service descriptor (xml file). When I deploy, only the jar is created and deployed. The xml needs to be copied to its destination.

  1. How can I deploy the jar and its xml?
  2. How do I bring them to jboss and split them up again (jar to lib folder, xml to deploy folder)?
  3. Should I package the xml with the jar?
  4. Should I package the xml in its own jar and use the unpack option?

Help from experienced developers is greatly appreciated!

EAK