Remove static JAR files and set Ivy dependencies.