1

Actually i found the Maven plugin maven-sar-plugin. It was last published on 2007-11-06.

Is there a more uptodate way to create an sar?

tkr
  • 1,331
  • 1
  • 9
  • 27

1 Answers1

2

Use the JBoss Packaging Maven Plugin.

dogbane
  • 266,786
  • 75
  • 396
  • 414
  • Thanks. I think this is just what I need. Do you know whether it is possible to build multiple artifacts from one module? E.g. a sar with some mbeans and a jar containing other code. – tkr Jan 11 '11 at 09:27
  • 1
    The idea in maven is to have one artifact per module, so I suggest adding an extra module for the jar and including it in the sar if needed – Somatik Jan 11 '11 at 10:09