peterxcli opened a new pull request, #3978: URL: https://github.com/apache/ambari/pull/3978
## What changes were proposed in this pull request? After spring6 upgrade, the build is broken. ``` [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /opt/ambari/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosKeytabPrincipalDAO.java:[27,27] package jakarta.persistence does not exist [ERROR] /opt/ambari/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosKeytabPrincipalDAO.java:[28,27] package jakarta.persistence does not exist [ERROR] /opt/ambari/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosKeytabPrincipalDAO.java:[29,36] package jakarta.persistence.criteria does not exist [ERROR] /opt/ambari/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosKeytabPrincipalDAO.java:[30,36] package jakarta.persistence.criteria does not exist [ERROR] /opt/ambari/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosKeytabPrincipalDAO.java:[31,36] package jakarta.persistence.criteria does not exist [ERROR] /opt/ambari/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosKeytabPrincipalDAO.java:[32,36] package jakarta.persistence.criteria does not exist [ERROR] /opt/ambari/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosKeytabPrincipalDAO.java:[33,36] package jakarta.persistence.criteria does not exist .... ``` The `jakarta.persistence:jakarta.persistence-api` version needs to update from 2.2.3 to 3.1.0. https://issues.apache.org/jira/browse/AMBARI-26440 ## How was this patch tested? compile success with: ```bash mvn clean compile -DskipTests [INFO] [INFO] Ambari Main ........................................ SUCCESS [01:20 min] [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.065 s] [INFO] Ambari Web ......................................... SUCCESS [02:19 min] [INFO] Ambari Views ....................................... SUCCESS [ 1.818 s] [INFO] Ambari Admin View .................................. SUCCESS [02:33 min] [INFO] ambari-utility ..................................... SUCCESS [ 2.653 s] [INFO] Ambari Server SPI .................................. SUCCESS [ 0.681 s] [INFO] Ambari Service Advisor ............................. SUCCESS [ 1.023 s] [INFO] Ambari Server ...................................... SUCCESS [02:34 min] [INFO] Ambari Functional Tests ............................ SUCCESS [ 4.228 s] [INFO] Ambari Agent ....................................... SUCCESS [ 6.572 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:05 min [INFO] Finished at: 2025-04-14T08:37:52Z [INFO] ------------------------------------------------------------------------ ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
