Hi everyone, I'm looking for help with pact maven ...
# pact-jvm
k
Hi everyone, I'm looking for help with pact maven plugin. I'm trying to run verification from maven command
mvn 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
Copy code
<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