JRebel rebel.xml generation

You should add the task dependency to those task(s) that make use of the ‘rebel.xml’ file produced by the ‘generateRebel’ task. If that file needs to go into the War, then ‘war.dependsOn generateRebel’ makes sense.