Speed improvements

Instead of using mvn to check if an artifact is present in the local repository I do it with ruby code. Build the path to the artifact in the local repository and if it's there, do a compare with the target file to see if they are the same.

This makes the maven resource much faster when working with artifacts that cannot be updated, i.e everything except snapshot versions.