There are a few basic options to run WireMock: WireMockRule, WireMockServer and standalone JAR. This works well for most scenarios, however in some scenarios one more option would be handy.
Sample scenario:
JMeter tests are executed with jmeter-maven-plugin at integration-test phase, and some mocks are needed. The most natural solution would be to turn on WireMock at pre-integration-test phase and turn it off at post-integration-test phase. Similarily to what can be achieved with jetty-maven-plugin. Maven plugin seems to be a natural and perfect fit for that. I cannot find any mention of wiremock plugin on
wiremock.org, neither in maven central. The only project I found is
https://github.com/rodrigosaito/wiremock-maven-plugin. However, it doesn't seem to be a stable, ready to use solution.
Is there a WireMock Maven plugin I could use? If not, I'm happy to create one and release to maven central so others can use it too. Just asking, before I reinvent possibly existing wheel...