apache / incubator-graphar

An open source, standard data file format for graph data storage and retrieval.
https://graphar.apache.org/
Apache License 2.0
217 stars 46 forks source link

chore(spark,java): extract format plugin into parent module #592

Closed Thespica closed 1 month ago

Thespica commented 1 month ago

Reason for this PR

close #591

What changes are included in this PR?

reorganized the spotless maven plugin.

Are these changes tested?

yes

Are there any user-facing changes?

no

Thespica commented 1 month ago

As Sem suggested, can we put the dependency to the root pom and the modules just inherit it from parent?

From my survey, use plugins can work to submodule directly, but pluginsManagement works better to manage them.

And I have tried use plugins without management directly, it's hard to work.

https://github.com/apache/avro/blob/8026c8ffe4ef67ab419dba73910636bf2c1a691c/lang/java/pom.xml#L307-L334