+ set -e
+ docker run --rm -u 0:0 -v /var/jenkins_home/workspace/zoumh-backend:/workspace -w /workspace -v /var/jenkins_home/caches/maven:/maven-repo maven:3.9.9-eclipse-temurin-21 bash -lc mvn -Dmaven.repo.local=/maven-repo -DskipTests -Pprod clean package
Unable to find image 'maven:3.9.9-eclipse-temurin-21' locally
3.9.9-eclipse-temurin-21: Pulling from library/maven
fdf9441e6ddd: Pulling fs layer
ac08ec036c80: Pulling fs layer
d9d352c11bbd: Pulling fs layer
14ea0157e6cf: Pulling fs layer
903243de14d5: Pulling fs layer
100a2f749ec8: Pulling fs layer
99f05f209f6f: Pulling fs layer
52fd01a09145: Pulling fs layer
4f4fb700ef54: Pulling fs layer
380ab39b4f9f: Pulling fs layer
4f4fb700ef54: Already exists
ae3a78c3e86b: Download complete
99f05f209f6f: Download complete
ac08ec036c80: Download complete
14ea0157e6cf: Download complete
100a2f749ec8: Download complete
009867547fc9: Download complete
903243de14d5: Download complete
52fd01a09145: Download complete
380ab39b4f9f: Download complete
d9d352c11bbd: Download complete
d9d352c11bbd: Pull complete
380ab39b4f9f: Pull complete
fdf9441e6ddd: Download complete
99f05f209f6f: Pull complete
14ea0157e6cf: Pull complete
fdf9441e6ddd: Pull complete
52fd01a09145: Pull complete
4f4fb700ef54: Pull complete
ac08ec036c80: Pull complete
100a2f749ec8: Pull complete
903243de14d5: Pull complete
Digest: sha256:3a4ab3276a087bf276f79cae96b1af04f53731bec53fb2e651aca79e4b10211e
Status: Downloaded newer image for maven:3.9.9-eclipse-temurin-21
[INFO] Scanning for projects...
[WARNING] The requested profile "prod" could not be activated because it does not exist.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.134 s
[INFO] Finished at: 2026-04-01T03:06:51Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "prod" could not be activated because it does not exist.
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/workspace). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException