I was successful to publish the contract in pact JS to Pact broker and now am trying to verify the contract in Java spring boot, the contract verification pass with no issues but the result of that verification doesn't get published to Pact broker which leaves the contact on Pactflow unverified, here is the plugin I am using
<plugin>
<groupId>au.com.dius.pact.provider</groupId>
<artifactId>maven</artifactId>
<version>4.1.11</version>
<configuration>
<serviceProviders>
<serviceProvider>
<name>UsersService</name>
<pactBroker>
<url>--myPactFlowURL--</url>
<authentication>
<scheme>bearer</scheme>
<token>--myTOKEN--</token>
</authentication>
</pactBroker>
</serviceProvider>
</serviceProviders>
</configuration>
</plugin>
I run mvn pact:verify
and I get this:
Given Add user
WARNING: State Change ignored as there is no stateChange URL
request for adding user
returns a response which
has status code 201 (OK)
has a matching body (OK)
for every interaction in the contract and there are a lot of them for everyone I get that warning but everything passes OK and lastly, I get this NOTE:
NOTE: Skipping publishing of verification results as it has been disabled (pact.verifier.publishResults is not 'true')