https://pact.io logo
#pact-jvm
Title
# pact-jvm
s

Slackbot

05/06/2022, 7:55 AM
This message was deleted.
👋 1
m

Matt (pactflow.io / pact-js / pact-go)

05/06/2022, 8:06 AM
Perhaps it’s not in the specific version you have?
a

Aaron

05/06/2022, 8:17 AM
Ahh! Nice find. Let me have a look at that version.
👍 1
Well it’s interesting I have the latest 4.0.10 of everything lol
Copy code
public final fun toPact(): au.com.dius.pact.core.model.messaging.MessagePact { /* compiled code */ }

    public final fun withContent(body: au.com.dius.pact.consumer.dsl.DslPart): au.com.dius.pact.consumer.MessagePactBuilder { /* compiled code */ }

    public final fun withMetadata(metadata: kotlin.collections.Map<kotlin.String, kotlin.Any>): au.com.dius.pact.consumer.MessagePactBuilder { /* compiled code */ }
m

Matt (pactflow.io / pact-js / pact-go)

05/06/2022, 8:56 AM
I don't think it's in the 4.0.x line, as per the image above you'll need the 4.1.x, 4.2.x or 4.3.x line
a

Aaron

05/06/2022, 8:59 AM
The latest on maven is 4.0.10 😕
u

uglyog

05/06/2022, 9:00 AM
The jar file name was changed
a

Aaron

05/06/2022, 9:04 AM
Yeah thanks, I noticed!
Copy code
<!-- <https://mvnrepository.com/artifact/au.com.dius.pact/consumer> -->
<dependency>
    <groupId>au.com.dius.pact</groupId>
    <artifactId>consumer</artifactId>
    <version>4.4.0-beta.2</version>
</dependency>
m

Matt (pactflow.io / pact-js / pact-go)

05/06/2022, 9:04 AM
I'll make a note to update the examples that use the 4.0.x version now
❤️ 1
a

Aaron

05/06/2022, 9:05 AM
Yeah I did fork an example but didn’t noticed the DSL was 2 years out of date 😄
👍 1
m

Matt (pactflow.io / pact-js / pact-go)

05/06/2022, 9:10 AM
Sorry for the confusion!
❤️ 1