Create source jars for Infinispan CLI module.

* Stage repository was giving an error because of the missing sources.
ISPN-4968 Missing Externalizer for MatchAllDocsQuery
Test that replaying a prepare command doesn't acquire the lock twice