Use Maven dependencies instead of local jars

These dependencies are used to compile classes, but old jars are still
needed in custom tasks (e.g., `prepareRelease`) and by `build.xml`. Next
step is to use Maven dependencies in custom tasks.

Old jars should be deleted altogether with `build.xml`.