Skip to content

Commit

Permalink
Merge pull request #27667 from gsmet/jakarta-apicurio
Browse files Browse the repository at this point in the history
Jakarta - Remove integration-tests/kafka-avro when migrating
  • Loading branch information
gsmet authored Sep 2, 2022
2 parents e929b57 + 6cca92d commit 8c84b02
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 2 additions & 6 deletions integration-tests/kafka-avro-apicurio2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,8 @@
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
<version>7.0.0</version>
<version>7.2.1</version>
<exclusions>
<exclusion>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
Expand Down Expand Up @@ -275,4 +271,4 @@
</profile>
</profiles>

</project>
</project>
4 changes: 1 addition & 3 deletions jakarta/rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,8 @@ recipeList:
- org.openrewrite.maven.ChangePropertyValue:
key: testng.version
newValue: 7.4.0
# In progress, these ones need a change:
# TODO, these ones probably still need a change:
# <microprofile-reactive-streams-operators.version>1.0.1</microprofile-reactive-streams-operators.version>
# <microprofile-lra.version>1.0</microprofile-lra.version>
# <smallrye-graphql.version>1.4.3</smallrye-graphql.version>
# <smallrye-reactive-streams-operators.version>1.0.13</smallrye-reactive-streams-operators.version>
# <smallrye-reactive-types-converter.version>2.6.0</smallrye-reactive-types-converter.version>
# <smallrye-mutiny-vertx-binding.version>2.19.0</smallrye-mutiny-vertx-binding.version>
Expand Down
8 changes: 7 additions & 1 deletion jakarta/transform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,18 @@ git checkout -- extensions/kubernetes-service-binding/runtime/src/test/resources

# Disable non-compilable ITs
# - Confluent registry client doesn't have a version supporting Jakarta packages
sed -i 's@<module>kafka-avro</module>@<!-- <module>kafka-avro</module> -->@g' integration-tests/pom.xml

# Commit what we have before cherry-picking stuff
git add .
git commit -m 'Transform sources to Jakarta'

# Remove integration-tests/kafka-avro as it's testing old versions
# We have a new module for newer versions that work with Jakarta
sed -i '/<module>kafka-avro<\/module>/d' integration-tests/pom.xml
rm -rf integration-tests/kafka-avro
git add .
git commit -m 'Remove integration-tests/kafka-avro - see kafka-avro-apicurio2 instead'

# Apply EE 10 updates

## CDI/ArC
Expand Down

0 comments on commit 8c84b02

Please sign in to comment.