Karol Stępień
12/23/2022, 10:49 AMmvn pact:verify -Dpact.filter.pacturl=<https://pact-broker>....
but I got 401 and I don't know how to pass username and password
my pom.xml setup is following
<plugin>
<groupId>au.com.dius.pact.provider</groupId>
<artifactId>maven</artifactId>
<version>4.3.12</version>
<configuration>
<serviceProviders>
<serviceProvider>
<name>providerName</name>
<consumers>
<consumer>
<name>consumerName</name>
</consumer>
</consumers>
</serviceProvider>
</serviceProviders>
</configuration>
</plugin>
I was trying many things:
1. I used PactUrl annotation for running the same test from Intellij directly `@PactUrl(urls = {"https://pact-broker........"}, auth = @Authentication(username = "lalal", password = "lalal"))`and this is working fine ✅