Hi Thomas,
first of all, thank you very much for your interest and contribution.
Regarding your idea and PR I think it would be much better to write a specific deployer outside of IronJacamar eventually extending RaDeployer. Deploying a jar is not the same of fdeploying a rar as you perfectly know, and it's not part of JCA spec. RaDeployer should accept only rar file, and special cases (like use case related to maven you described in the issue) should be developed as custom deployer.
Few more suggestions on how you are doing this (also in your own class):
- try to be a bit more defensive on file structure and names
- don't forget temp file cleanup
I would be very happy to comment/help you in this implementation discussing it here in our forum even if it will be turn in a custom deployer outside IJ project.
Looking forward to go on w/ this discussion and read your code
Thanks again for your interest
S.