Is anyone else using *jboss-packaging *to create a .sar file that you'd like
installed in the repository with that extension?  If so, can you tell me
how? (the maven-install-plugin uses the <packaging> of "jboss-sar" as the
file extension when installing)

Or, even if you're not installing, but deploying the .sar, can you please
let me know how you're doing that?  I use cargo so it takes the dependency
from my local repository.

Thanks,
Michael



On 12/6/06, Michael Waluk <[EMAIL PROTECTED]> wrote:

My project depends upon some jar files which I want to package into a sar
file and deploy to Jboss 4.x when I deploy my .war file.

I have created a module that packages the .sar file properly, but in order
to deploy it with cargo I have to list it as a dependency in the war's
module.  That brings me to the problem -- if I use:


<
packaging>jboss-sar</packaging >

then it packages ok (as a .sar file), but I have to install it so the
other module can retrieve it and it gets copied into the repository as a
.jboss-sar file (the extension is changed).  So my questions are:

a) How to install it so that it keeps its .sar extension?

b) Is this the best way to do this? - create a module that builds the
.sar, create a module for the .war that depends upon it and lists it as a
deployable for cargo (I'll ask that on the cargo list).

Thanks,

Michael

Reply via email to