added logic to copy dependency jars to target