Added strategies dealing with duplicate jars.
Removed deprecated method call.
Associated ProjectRef with each task.