Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/main/resources/META-INF/rewrite/change-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,4 +412,7 @@ recipeList:
newFullyQualifiedTypeName: org.operaton.bpm.spring.boot.starter.util.OperatonSpringBootUtil
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.camunda.bpm.spring.boot.starter.webapp.CamundaBpmWebappAutoConfiguration
newFullyQualifiedTypeName: org.operaton.bpm.spring.boot.starter.webapp.OperatonBpmWebappAutoConfiguration
newFullyQualifiedTypeName: org.operaton.bpm.spring.boot.starter.webapp.OperatonBpmWebappAutoConfiguration
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.camunda.bpm.engine.impl.util.CollectionUtil
newFullyQualifiedTypeName: org.operaton.commons.utils.CollectionUtil
41 changes: 41 additions & 0 deletions src/main/resources/META-INF/rewrite/moved-test-classes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#
# Copyright 2025 the Operaton contributors.
# <p>
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# <p>
# https://www.apache.org/licenses/LICENSE-2.0
# <p>
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
---
type: specs.openrewrite.org/v1beta/recipe
name: org.operaton.rewrite.MoveTestClasses
displayName: Handle Operaton test classes relocation
description: Move various classes for test support in new packages and a new artifact.
recipeList:
- org.openrewrite.java.dependencies.AddDependency:
groupId: org.operaton.bpm
artifactId: operaton-engine
version: 1.0.+
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as 1.0.0 is not release we need to stick with the current pre-release version (1.0.0-beta-5, 1.0.0-rc-1-SNAPSHOT).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry yes you are right, 1.0.+ cannot deal with non semantic version additions. Will adjust

scope: test
classifier: junit4
onlyIfUsing: org.junit.Test
- org.openrewrite.java.dependencies.AddDependency:
groupId: org.operaton.bpm
artifactId: operaton-engine
version: 1.0.+
scope: test
classifier: junit5
onlyIfUsing: org.junit.jupiter.Test
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.operaton.bpm.engine.test.mock.Mocks
newFullyQualifiedTypeName: org.operaton.bpm.engine.impl.mock.Mocks
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.operaton.bpm.engine.test.mock.MockExpressionManager;
newFullyQualifiedTypeName: org.operaton.bpm.engine.impl.mock.MockExpressionManager
Loading