overture-stack / score

Secure Cloud Object REsource: file transfer microservice
https://www.overture.bio/products/score
GNU Affero General Public License v3.0
18 stars 10 forks source link

Add Code Formatter #384

Closed joneubank closed 7 months ago

joneubank commented 7 months ago

Detailed Description

Java based Overture apps have been using fmt-maven-plugin to provide standardized code formatting to their code bases. We should add this to Score and update formatting of all files across the code base.

Possible Implementation

Ego is currently using:

            <plugin>
                <groupId>com.coveo</groupId>
                <artifactId>fmt-maven-plugin</artifactId>
                <version>2.8</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>format</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

It appears that this has now moved to spotify: https://github.com/spotify/fmt-maven-plugin