Bonita-server dependency

Hello,
I'm trying to use bonita-server dependency in external maven project (event handler).
I'm switching to Bonita 2022 (before I was using 2021).
The bonita-server dependency that I was using before has version 7.13.0 and it was working normally.
Now it's 7.15.0, but it's not working.
When I put the dependency in pom.xml, I got this error:

Could not find artifact net.sf.ehcache:ehcache:pom:2.10.10.3.24 in central (https://repo.maven.apache.org/maven2)

This is the dependency:
    groupId: org.bonitasoft.engine
    artifactId:
bonita-server
    version: 7.15.0
    scope: runtime

Maven Link for the dependency: https://mvnrepository.com/artifact/org.bonitasoft.engine/bonita-server/7.15.0

Many thanks in advance.

1 Like

Hi @awehbe, the bonita-server-7.15.0 (see more) is located at Terracotta repository (https://repo.terracotta.org/maven2/)

So you can try add tag <repositories> before tag <dependencies>

<repositories>
      <repository>
         <id>terracotta-repo</id>
         <url>https://repo.terracotta.org/maven2/</url>
      </repository>
</repositories>

 <dependencies>
      <dependency>
          <groupId>org.bonitasoft.engine</groupId>
          <artifactId>bonita-server</artifactId>
          <version>7.15.0</version>
      </dependency>
 </dependencies>
1 Like

Thank you so much! It worked.
P.S: I couldn’t find a button to set your response as a solution.

1 Like