add Revision.equals()

This only maven dependencies detection and only for this jenkins.