Francislainy Campos
05/10/2022, 8:10 AM<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<systemPropertyVariables>
<pact.provider.version>${project.version}</pact.provider.version>
<pact.verifier.publishResults>true</pact.verifier.publishResults>
<pactbroker.host><http://my.pactflow.io|my.pactflow.io></pactbroker.host>
</systemPropertyVariables>
</configuration>
</plugin>
And then
@RunWith(PactRunner.class)
@PactBroker(host = "<http://my.pact.dius.com.au|my.pact.dius.com.au>", consumers = {
"${pact.filter.consumers:NONE}" }, tags = { "${pact.consumer.tags:latest}" }, authentication = @PactBrokerAuth(token = "myToken"))
@uglyog I see you helped someone before with a similar error but on gradle? https://github.com/pact-foundation/pact-jvm/issues/902#issuecomment-506959822 Thank you.Matt (pactflow.io / pact-js / pact-go)
:NONE
or :latest
syntax - is that a Pact thing or a spring or something else thing? is that a default value?Matt (pactflow.io / pact-js / pact-go)
$
or something else in the logs) then you know the problem is in the interpolationFrancislainy Campos
05/10/2022, 8:19 AMFrancislainy Campos
05/10/2022, 8:24 AM@RunWith(PactRunner.class)
@PactBroker(host = "<http://my.pactflow.io|my.pactflow.io>", consumers =
"myConsumer", authentication = @PactBrokerAuth(token = "myToken"))
Francislainy Campos
05/10/2022, 8:24 AMFrancislainy Campos
05/10/2022, 8:24 AMFrancislainy Campos
05/10/2022, 8:40 AMFrancislainy Campos
05/10/2022, 8:40 AMFrancislainy Campos
05/10/2022, 8:40 AM