Fix maven cache usage on travis