Repository for mongock-core 4.3.8

90 views Asked by At

I try to update my mongock-core dependency to 4.3.8 (from 3.3.2) but it does not find the jar for the dependency.
So i have checked on the maven central repository i am using (https://repo1.maven.org/maven2) and i see that 3.3.2 indeed has the .jar
https://repo1.maven.org/maven2/com/github/cloudyrock/mongock/mongock-core/3.3.2/
but 4.3.8 does not:
https://repo1.maven.org/maven2/com/github/cloudyrock/mongock/mongock-core/4.3.8/
Why is it so, and how do one include the dependency of 4.3.8 in this case?
The inclusion in pom.xml was done this way (with the value of mongokc version i changed from 3.3.2):

<properties>
...
        <mongock.version>4.3.8</mongock.version>
...
</properties>
... 
<dependency>
        <groupId>com.github.cloudyrock.mongock</groupId>
        <artifactId>mongock-core</artifactId>
        <version>${mongock.version}</version>
</dependency> 
...
<repository>
    <id>my-maven</id>
    <name>Maven Repository</name>
    <url>https://repo1.maven.org/maven2</url>
</repository>

Is something wrong with my inclusion or does something changed and need to be done differently now?

1

There are 1 answers

3
Mongock team On

Mongock's v4 usage differs a bit from v3. Please refer to the documentation on the following link:

Mongock v4 Documentation

Once you have upgraded to v4.3.8, we recommend you to upgrade to Mongock's current version (v5.x.x). Please refer to the migration guide on the following link:

Mongock v4 to v5 migration guide