Fix jar task broken by 87c3499

The :provided scope profiles were not being captured before un-merging 
profiles.