apache / incubator-xtable

Apache XTable (incubating) is a cross-table converter for lakehouse table formats that facilitates interoperability across data processing systems and query engines.
https://xtable.apache.org/
Apache License 2.0
919 stars 147 forks source link

Maven Build Failure #413

Closed BrennaBuuckMinio closed 7 months ago

BrennaBuuckMinio commented 7 months ago

I ran cd .. && mvn install -am -pl core -DskipTests -T 2 in the demo directory. I got this this error:

[INFO] --- spotless:2.43.0:check (default) @ xtable --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for xtable 0.1.0-SNAPSHOT: [INFO] [INFO] xtable ............................................. FAILURE [ 0.464 s] [INFO] api ................................................ SKIPPED [INFO] hudi-support ....................................... SKIPPED [INFO] hudi-utils ......................................... SKIPPED [INFO] core ............................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.508 s (Wall Clock) [INFO] Finished at: 2024-04-10T11:06:53-07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.43.0:check (default) on project xtable: Execution default of goal com.diffplug.spotless:spotless-maven-plugin:2.43.0:check failed: You are running Spotless on JVM 21. This requires google-java-format of at least 1.17.0 (you are using 1.8).`

I'm sure it has something to do with my java environment, but I'm not sure how to resolve.

the-other-tim-brown commented 7 months ago

@BrennaBuuckMinio can you use java 11?

BrennaBuuckMinio commented 7 months ago

Perfect! Thank you. Sorry for the confusion.

pateash commented 7 months ago

@BrennaBuuckMinio this can be closed, I am not mistaken.