Skip to content

Commit

Permalink
Merge pull request #30747 from gsmet/fix-testng-issue
Browse files Browse the repository at this point in the history
Jakarta - Adjust TestNG version update
  • Loading branch information
gsmet authored Jan 31, 2023
2 parents 68e0f4b + 07db737 commit 9ea761b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
13 changes: 9 additions & 4 deletions jakarta/rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ styleConfigs:
indentSize: 4
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.parent
displayName: Adjust versions in parent
recipeList:
# TestNG update, needed for the MicroProfile TCKs
- org.openrewrite.maven.ChangePropertyValue:
key: testng.version
newValue: '7.4.0'
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-versions
displayName: Adjust Jakarta versions
recipeList:
Expand Down Expand Up @@ -627,10 +636,6 @@ recipeList:
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-rest-client.version
newValue: '3.0'
# TestNG update, needed for the MicroProfile TCKs
- org.openrewrite.maven.ChangePropertyValue:
key: testng.version
newValue: '7.4.0'
# TODO, these ones probably still need a change:
# <microprofile-reactive-streams-operators.version>1.0.1</microprofile-reactive-streams-operators.version>
# <smallrye-reactive-streams-operators.version>1.0.13</smallrye-reactive-streams-operators.version>
Expand Down
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,22 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>4.21.0-SNAPSHOT</version>
<configuration>
<configLocation>${maven.multiModuleProjectDirectory}/jakarta/rewrite.yml</configLocation>
<activeStyles>
<style>io.quarkus.style.maven</style>
</activeStyles>
<activeRecipes>
<recipe>io.quarkus.parent</recipe>
</activeRecipes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
Expand Down

0 comments on commit 9ea761b

Please sign in to comment.