Add recipe to replace operaton-bpm-junit5 with operaton-engine:junit5#16
Draft
Copilot wants to merge 3 commits into
Draft
Add recipe to replace operaton-bpm-junit5 with operaton-engine:junit5#16Copilot wants to merge 3 commits into
operaton-bpm-junit5 with operaton-engine:junit5#16Copilot wants to merge 3 commits into
Conversation
…gine:junit5 Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add recipe to replace dependency org.operaton.bpm:operaton-bpm-junit5
Add recipe to replace Feb 24, 2026
operaton-bpm-junit5 with operaton-engine:junit5
kthoms
requested changes
Feb 25, 2026
| <groupId>org.operaton.bpm</groupId> | ||
| <artifactId>operaton-engine</artifactId> | ||
| <classifier>junit5</classifier> | ||
| <scope>test</scope> |
Author
There was a problem hiding this comment.
Done. Added <version>2.0.0-M3</version> to the expected operaton-engine dependency in the test and to the recipe itself (commit 8877724).
| <groupId>org.operaton.bpm</groupId> | ||
| <artifactId>operaton-engine</artifactId> | ||
| <classifier>junit5</classifier> | ||
| <scope>test</scope> |
Author
There was a problem hiding this comment.
Done. Added <version>2.0.0-M3</version> to the expected operaton-engine dependency in the test and to the recipe itself (commit 8877724).
…nd tests Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com>
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The classes from
org.operaton.bpm:operaton-bpm-junit5were moved into the engine module. This recipe automates the migration by removing the old dependency and conditionally adding the classified replacement.Changes
operaton-bpm-junit5-migration.yml— Declarative recipeorg.operaton.rewrite.upgrade.ReplaceOperatonBpmJunit5composing:org.openrewrite.maven.RemoveDependencyto droporg.operaton.bpm:operaton-bpm-junit5AddOperatonEngineJunit5IfUsedfor conditional additionAddOperatonEngineJunit5IfUsed.java—ScanningRecipe<AtomicBoolean>that:org.operaton.bpm.engine.test.junit5.*(ParameterizedTestExtension,ProcessEngineLoggingExtension,WatchLogger)<dependencies>itself was removed by the priorRemoveDependencystepReplaceOperatonBpmJunit5Test.java— Tests for each of the three trigger classes and the no-usage caseResult
Original prompt
org.operaton.bpm:operaton-engine:junit5#15✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.