`Я пытаюсь обновить свой проект Quarkus с версии 3.8.6 до 3.15.6.2, используя встроенную команду Quarkusupdate для Gradle. < /p>
Когда я запускаю команду:
powershell
.\gradlew quarkusUpdate< /code>
процесс запускается, правильно идентифицирует целевую версию и генерирует рецепт OpenRewrite. Тем не менее, он затем висит бесконечно на этапе выполнения, показывая 0% выполнения без какого -либо прогресса или дальнейшего вывода. Я позволил ему работать более 40 минут без изменений.
Вот полный вывод консоли: < /p>
Задача: Quarkusupdate
Quarkusupdate экспериментальна, его варианты и выходные данные могут измениться в будущих версиях
Quardersements in Registry. />Detected project Java version: 17
Instructions to update this project from '3.8.6' to '3.X':
The configured Quarkus registries did not provide any compatibility information for the following extensions in the context of the currently recommended Quarkus platforms:
io.quarkus:quarkus-smallrye-reactive-messaging-kafka:3.8.6
io.quarkus:quarkus-oidc-token-propagation:3.8.6
Рекомендуемая платформа Quarkus bom Обновления:
Обновление: io.quarkus.platform: Quarkus-bom: pom: 3.8.6-> 3.x
extensions от io.quarkus.platform: Quarkus-bom:
reval vorle ves revilleffile: io.quarkus: Quarkus-Updates-Recipes: 1.5.2 с 6 рецептами для обновления с 3,8,6 до 3.x (первоначально созданный для версии плагина Gradle OpenWrite: 7.12.1)
Recipe сгенерирован: рецепт: C: \ users \ xxxxxx ~ 1 \ appdata \ local \ temp \ Quarkus-project-recipe-11608578851276256669.yaml < /p>
< /blockquote>
. />C:zomesers\xxxxxxxxxxxxxxdesktop\workspace\xxxxxxxxxxrage\gradlew.bat-console plain-stacktrace-init-script c: \ users \ xxxxxx ~ 1 \ appdata \ temp \ openrewrite-init7851919350625361gra rewriteRun
Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details
0% EXECUTING [40m 15s]
:quarkusUpdate
Environment:
Quarkus Version (от): 3.8.6
Quarkus версия (to): любая операционная система
java: 17
«Построение»: Gradle 8.6
Opering System: Windows 11 < /p>
Это My Build.gradle: < /p>
plugins {
id 'java'
id 'io.quarkus'
}
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://packages.confluent.io/maven/"
}
}
dependencies {
//Lombok
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
//JPA modelgen
annotationProcessor("org.hibernate:hibernate-jpamodelgen:${jpaModelgenVersion}")
//Quarkus BOM`your text`
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
//Quarkus config
implementation 'io.quarkus:quarkus-config-yaml'
//RestEasy
implementation 'io.quarkus:quarkus-resteasy-jsonb'
implementation 'io.quarkus:quarkus-resteasy-multipart'
implementation 'io.quarkus:quarkus-rest-client-jsonb'
implementation 'io.quarkus:quarkus-oidc-token-propagation'
//JPA and HIBERNATE
implementation 'io.quarkus:quarkus-hibernate-orm-panache'
implementation 'io.quarkus:quarkus-jdbc-postgresql'
implementation 'io.quarkus:quarkus-hibernate-validator'
implementation 'io.quarkus:quarkus-hibernate-envers'
//SmallRye microprofile
implementation 'io.quarkus:quarkus-smallrye-fault-tolerance'
implementation 'io.quarkus:quarkus-smallrye-health'
//implementation 'io.quarkus:quarkus-smallrye-opentracing'
implementation 'io.quarkus:quarkus-smallrye-reactive-messaging-kafka'
implementation 'io.quarkus:quarkus-smallrye-metrics'
//SmallRye reactive messaging
implementation 'io.quarkus:quarkus-smallrye-reactive-messaging'
implementation 'io.quarkus:quarkus-resteasy-mutiny'
//OpenApi
implementation 'io.quarkus:quarkus-smallrye-openapi'
//Common Langs
implementation "org.apache.commons:commons-lang3:${apacheCommonLangsVersion}"
//Logging GELF
implementation 'io.quarkus:quarkus-logging-gelf'
//Flyway specific dependencies
implementation 'io.quarkus:quarkus-flyway'
//ModelMapper
implementation "org.modelmapper:modelmapper:${modelMapperVersion}"
//caching
implementation 'io.quarkus:quarkus-cache'
//Security
implementation 'io.quarkus:quarkus-oidc'
implementation 'io.quarkus:quarkus-keycloak-authorization'
//Testing
testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
/* testImplementation "org.assertj:assertj-core:${assertjCoreVersion}"
testImplementation "org.testcontainers:junit-jupiter:${testContainerVersion}"
testImplementation "org.testcontainers:postgresql:${testContainerVersion}"*/
}
group 'XX.XXX'
version '2.0.0-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
test {
systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
}
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs
То, что я пробовал: < /p>
ждать очень долго (более 40 минут). < /p>
Запуск. \ gradlew -Stop, чтобы убить любые существующие демоны перед запуском команды обновления снова. Висят. < /p>
Кто -нибудь столкнулся с аналогичной проблемой? Что может быть причиной этого повеса? Это потенциальная ошибка в инструменте Quarkusupdate, проблема с Openrewrite в Windows или проблема, связанная с незавершенными расширениями?>
Подробнее здесь: https://stackoverflow.com/questions/797 ... g-from-3-8