Missing Dependency import org.operaton.bpm.engine.test.Deployment after Migration from Camunda

Hi after the Migration from Camunda7 via Open REwrite i get an error about missing File org.operaton.bpm.engine.test.Deployment

Do i have to addsome specific dependency ? I tried

testImplementation group: ‘org.operaton.bpm’, name: ‘operaton-bpm-junit5’, version: ‘1.0.0-beta-5’

but the class is not in it. are there any other test dependencies for Operaton ?

Please use

    <dependency>
      <groupId>org.operaton.bpm</groupId>
      <artifactId>operaton-engine</artifactId>
      <classifier>junit5</classifier>
      <scope>test</scope>
      <version>${version.operaton}</version>
    </dependency>

Tell us if this fixes your issue. Then we know that this needs to be added to the migration recipes and will update them accordingly.

Hi, I ran into the same issue and after adding the suggested dependency the issue was resolved. My project is currently using 1.0.0-rc-1 (came from 1.0.0-beta-4)

Best, Maarten

1 Like

@cachescrubber Is this already covered by the migration recipe?

Yes. The migration recipe deals with the test related refactorings and dependency changes since Release Release v1.0.0-rc-1 · operaton/migrate-from-camunda-recipe · GitHub.

Great to hear! I was expecting it, but was not sure.