-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Create baton migration for Quarkus Java 17 upgrade #434
Comments
DOD with @ewilkins-csi |
carter-cundiff
added a commit
that referenced
this issue
Oct 30, 2024
OTS with @csun-cpointe |
carter-cundiff
added a commit
that referenced
this issue
Oct 30, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 30, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 30, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 31, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 31, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 31, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 31, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 31, 2024
#434 Create baton migration for Quarkus Java 17 upgrade
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Follow on to #263, where we migrated our quarkus projects to java 17. This issue will focus on migrating downstream projects to be compatible with the new quarkus dependencies.
Questions:
<groupId>${groupId}</groupId>
-><groupId>${project.groupId}</groupId>
- worth migrating?DOD
Migration to update downstream dependencies to include new version - run on every
pom.xml
:org.scala-lang:scala-reflect:2.12.1
->${version.scala}
org.apache.commons:commons-math3:3.2
->${version.commons.math}
io.smallrye.reactive:smallrye-reactive-messaging-kafka
->${version.smallrye.reactive.messaging}
junit:junit:4.13.2
->${version.junit}
io.smallrye.reactive:smallrye-reactive-messaging-in-memory
->${version.smallrye.reactive.messaging}
org.jboss.resteasy:resteasy-client
->${version.resteasy}
org.jboss.resteasy:resteasy-jackson2-provider
->${version.resteasy}
org.awaitility:awaitility
->${version.awaitility}
io.vertx:vertx-core
->${version.vertx}
io.smallrye.config:smallrye-config:2.10.0
->${version.smallrye.config}
org.slf4j:slf4j-api:2.0.7
->${version.slf4j}
org.slf4j:slf4j-simple:1.6.4
->${version.slf4j}
Migration to update downstream pom to add the following dependencies - run on Spark pipeline
pom.xml
:javax.servlet:javax.servlet-api:${version.javax.servlet}
- run migration only on pipelines directoryMigration to update downstream Java classes to the new package - run on every
*.java
:javax.<PACKAGE>
->jakarta.<PACKAGE>
(ref: jakarta package list)io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector
->io.smallrye.reactive.messaging.memory.InMemoryConnector
io.smallrye.reactive.messaging.providers.connectors.InMemorySink
->io.smallrye.reactive.messaging.memory.InMemorySink
Migration to update
quarkus*-bom
toaissemble-quarkus-bom
- run on everypom.xml
Update
cucumber.test.cdi.context.java.vm
to implementCdiContext
and only includeInMemoryConnector.class
Update to release notes:
javax
->jakarta
migration details to the release notescom.boozallen.aissemble:bom-component
withcom.boozallen.aissemble:aissemble-quarkus-bom
prior to running migrationscom.boozallen.aissemble:aissemble-quarkus-bom
from rootpom.xml
and add to any quarkus apps following the migrationsTest Strategy/Script
OTS Only:
Update your machine to build with Java 11. Run
mvn -v
to verify it's configured properly. The output should be similar to the following:1.9.4
:test-434-pipeline-models/src/main/resources/pipelines/
directorytest-434-pipeline-models/src/main/resources/dictionaries/
directorytest-434-pipeline-models/src/main/resources/records/
directorymvn clean install
until all the manual actions are completetest-434-pipelines/spark-pipeline/src/main/java/com/test/TestSyncStep.java
:mvn clean install -Dmaven.build.cache.skipCache
once to get any remaining manual actionsmvn -v
to verify it's configured properly. The output should be similar to the following:pom.xml
to use version1.10.0-SNAPSHOT
bom-component
withaissemble-quarkus-bom
./mvnw org.technologybrewery.baton:baton-maven-plugin:baton-migrate
com.boozallen.aissemble:aissemble-quarkus-bom:${version.aissemble}
dependency from the rootpom.xml
andtest-434-tests/test-434-tests-java/pom.xml
test-434-pipelines/pyspark-pipeline/poetry.lock
andtest-434-shared/test-434-data-records-python/poetry.lock
filestest-434-pipelines/pyspark-pipeline/pyproject.toml
andtest-434-shared/test-434-data-records-python/pyproject.toml
so it can access our SNAPSHOT dependencies:mvn clean install -Dmaven.build.cache.skipCache
tilt up
pyspark-pipeline
resource and verify it runs to completion with this log output:spark-pipeline
resource and verify it runs to completion with this log output:References/Additional Context
Quarkus Commit 1
Quarkus Commit 2
The text was updated successfully, but these errors were encountered: