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
