I can do this using the following pom entry:
<plugin>
<groupId>au.com.dius.pact.provider</groupId>
<artifactId>maven</artifactId>
<version>4.1.17</version>
<configuration>
<pactBrokerUrl>https://akbank.pactflow.io</pactBrokerUrl>
<pactBrokerToken>MyToken</pactBrokerToken>
</configuration>
</plugin>
However I don't remember where I found this sample and not sure if this is the correct way because the groupid of the maven plugin ends with ".provider".
The documentation is very limited regarding to this topic. Please advise if what I'm doing is correct.