apache / amoro

Apache Amoro (incubating) is a Lakehouse management system built on open data lake formats.
https://amoro.apache.org/
Apache License 2.0
817 stars 273 forks source link

[MINOR] Simplify the packaging and testing ci process for trino module #2850

Closed xleoken closed 3 months ago

xleoken commented 3 months ago

Why are the changes needed?

minor

Brief change log

Simplify the packaging and testing ci process for trino module.

-pl 'amoro-ams/amoro-ams-api,amoro-core,amoro-mixed-format/amoro-mixed-format-hive' and -am are in conflict.

We can use -pl 'amoro-mixed-format/amoro-mixed-format-trino' -am.

[root@djump /work/amoro/amoro]#  
[root@djump /work/amoro/amoro]#  mvn17 clean install -pl 'amoro-mixed-format/amoro-mixed-format-trino' -Dhadoop=v2 -am -B -P trino-spotless
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Amoro Project Parent                                               [pom]
[INFO] Amoro Project Core                                                 [jar]
[INFO] Amoro Project AMS Parent                                           [pom]
[INFO] Amoro Project AMS API                                              [jar]
[INFO] Amoro Project Mixed Format Parent                                  [pom]
[INFO] Amoro Project Mixed Hive Format                                    [jar]
[INFO] Amoro Project Mixed Format Trino                                   [jar]
[INFO] 
[INFO] -------------------< org.apache.amoro:amoro-parent >--------------------
[INFO] Building Amoro Project Parent 0.7-SNAPSHOT                         [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ amoro-parent ---
[INFO] Deleting /work/amoro/amoro/target

How was this patch tested?

Documentation