Fix jar task for :classifiers

The classified jar files were not being generated due to incorrect
arguments in code.
Merge pull request #1742 from hugoduncan/fix-classified-jars

Fix jar task for :classifiers