Pointless to swap the 4.0L into a 2.5L Wrangler. You'll need to fabricate new motor mount perches to weld to your frame, and the end result will be just another run-of-the-mill 4.0L Jeep with a hacked up install.
If you're going through the trouble, put in a more worthwhile engine, something a little more unique with more mod capability. Use the entire donor drivetrain to save big bucks on adapters.
I'm in the middle of swapping a 4.3L 4L60e 231c/j into my 2.5L Comanche, oh what fun.