Move provided profile merge to prep call in jar task.

Fixes #1260.
Calculate uberjar filename before merging uberjar profile.