Declare jar dependencies as jar type dependencies

Just like #2070, more dependencies were wrongly labeled as of pom type.
Merge pull request #2074 from sslavic/patch-3

Declare jar dependencies as jar type dependencies