Deploying with quarkus cli from a 'cleaned' project doesn't perform previoius lifecycle phases
#33633
Labels
area/cli
Related to quarkus cli (not maven/gradle/etc.)
area/kubernetes
kind/bug
Something isn't working
Describe the bug
The
quarkus deploycommand isn't generating and compiling the code. Then the application endpoints are not accessibles when deploy the project with the --clean option.Expected behavior
I would expect the lifecycle phases are executed sequentially to complete the lifecycle. This means that when the
quarkus deploycommand is used,it will generate the code, then will try to compile the sources, run tests, package the binaries and then deploy the package to the cluster.Actual behavior
quarkus deployjust clears out the existing classes and then run the deploy phase:Note the WARNING message:
Hibernate ORM is disabled because no JPA entities were foundwhile I have at least one @entity class.How to Reproduce?
Reproducer:
Be sure to be connected to a (OpenShift) cluster.
1 - unzip getting-started.zip
2 - quarkus deploy openshift --clean --image-build -Dquarkus.openshift.route.expose=true
Output of
uname -aorverNo response
Output of
java -versionNo response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.0.4.Final
Build tool (ie. output of
mvnw --versionorgradlew --version)No response
Additional information
getting-started.zip
The text was updated successfully, but these errors were encountered: