removed unused imports
work with all dependent artifacts instead of with only compile artifacts
use the dependency type as target folder for handling additional dependent artifacts