I have written a spring cloud contract in an server application running spring boot. This part is correctly generating the stubs into my local repo. Now I want to verify this contract from a client application running Spring 3.1 and Jersey.
As a workaround I evaluated the possibility of manually unpacking the stub jar into the mapping file and launch the verification using WireMockClassRule as it is done in this link
Is there some other easy way of reusing the AutoConfigureStubRunner to do this work for me, and still don't need to add a dependency to Spring Boot?
EDIT:
I have been able to download and unpack stubs jars using maven dependency:unpack
plugin, and later to run them using wiremock (similar to what is done here). The only problem that I still need to solve is how to dynamically pick the stub latest version. By using the maven dependency plugin I always need to provide the artifact version.