Apicurio / srs-fleet-manager

Implementation of the Managed Service Registry Service API (aka control plane API).
Apache License 2.0
4 stars 13 forks source link

Auto formatting configuration #304

Open andreaTP opened 2 years ago

andreaTP commented 2 years ago

Opening this PR as Draft to receive comments/suggestions regarding the proposed format. I already attempted a little to make it follow the current formatting, but I think some of the original maintainers of the project should chip in for this decision.

Try the formatting with:

mvn clean install -f ide-config/pom.xml
mvn formatter:format

Revert the formatting with:

git checkout HEAD **/*.java

If someone wants to provide an alternative file I'm completely open to it 🙂

andreaTP commented 2 years ago

I dropped in this configuration: https://github.com/Apicurio/apicurio-configs/blob/main/eclipse/formatter.xml

but seems to be breaking a little more than the original proposal.

In the longer term, we can publish the configuration directly from https://github.com/Apicurio/apicurio-configs instead of having to spin out a separate maven sub-project in each repo.