Jaikiran Pai wrote:I would have thought that by default the jar gets included. Atleast that's what the Maven rar plugin doc says about includeJar attribute
its in cluded by default, but its not built by default - which is the odd thing. its like the rar:rar execution completely replaces the jar:jar execution in the lifecycle instead of coming after it. if you "manually" add the jar:jar back into the lifecycle (as i did in the pom.xml) than the jar produced is included in the rar and everything is nice and dandy.
this, to me, seems to be an issue with the rar plugin since in my experience most maven plugins (especially the core ones) just work if you stick to conventions, which i think i have.
Jaikiran Pai wrote:Can you post your pom.xml which contains the rar plugin configuration?
sure. there it is:
and this is the parent, just in case:
the thing that bothers me is that the rar plugin does not work out of the box (i had to add an execution of the jar plugin before it).