Extract SBT classifiers
(cherry picked from commit e5cb6f3)