-
Notifications
You must be signed in to change notification settings - Fork 3k
PoC: integrate Eclipse Formatter Profile into Maven Spotless Plugin
#48041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/cc @gsmet (hibernate-orm) |
...redis-client/runtime/src/main/java/io/quarkus/redis/datasource/keys/ReactiveKeyCommands.java
Show resolved
Hide resolved
...c/main/kotlin/org/jboss/resteasy/reactive/server/runtime/kotlin/ApplicationCoroutineScope.kt
Outdated
Show resolved
Hide resolved
...rtx-http/deployment/src/test/java/io/quarkus/vertx/http/proxy/fakedns/DnsMessageEncoder.java
Show resolved
Hide resolved
|
is this any good? @geoand |
|
see old commits for actual changes. |
|
I am assuming that this change will result in the source being reformated a lot when the build is run. If that indeed happens, we don't want that. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
[INFO] Quarkus - Integration Tests - Virtual Threads - gRPC SUCCESS [ 3.799 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - RESTEasy Reactive SUCCESS [ 1.477 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Mailer SUCCESS [ 1.652 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Redis Client and Cache SUCCESS [ 1.659 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - REST Client Reactive SUCCESS [ 1.554 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Kafka SUCCESS [ 1.667 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - AMQP 1.0 SUCCESS [ 1.802 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - JMS SUCCESS [ 1.834 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Vert.x Event Bus SUCCESS [ 1.387 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Scheduler SUCCESS [ 2.902 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Quartz Scheduler SUCCESS [ 1.490 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Disabled SUCCESS [ 1.529 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Reactive Routes SUCCESS [ 1.261 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Security WebAuthn SUCCESS [ 1.441 s]
[INFO] Quarkus - Integration Tests - Virtual Threads - Micrometer Metrics SUCCESS [ 1.623 s]
[INFO] Quarkus - Integration Tests - Mutiny native JCTools support SUCCESS [ 0.669 s]
[INFO] Quarkus - Documentation ............................ SUCCESS [01:17 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30:53 min
[INFO] Finished at: 2025-05-30T12:52:23+02:00
[INFO] ------------------------------------------------------------------------
[INFO] Njord session closed
[INFO] 12824 goals, 12824 executed
➜ quarkus git:(spotless-pr) |
|
see dedicated commits. config and apply. |
f2f265f to
3369a20
Compare
|
ready for checkup. |
|
Error: Could not find goal 'validate' in plugin com.diffplug.spotless:spotless-maven-plugin:2.44.5 among available goals apply, check -> [Help 1] Yes fixed remaining. |
|
kindly request ci run, fixed previous issue. |
| @RegisterExtension | ||
| @JvmField | ||
| var runner = QuarkusUnitTest() | ||
| .setExpectedException(BuildException::class.java) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could consider migration to palantir, to promote block format having one thing only (per line).
...src/test/kotlin/io/quarkus/hibernate/orm/panache/kotlin/deployment/test/DuplicateIdEntity.kt
Show resolved
Hide resolved
|
need enabler then its good to go: |
issue
Eclipse Formatter ProfileintoMaven Spotless Plugin#48047format-kotlin#48178references:
ArrayIndexOutOfBoundsException: Index 570 out of bounds for length 570 diffplug/spotless#2491spotless-maven-pluginto2.44.4#48063Eclipse Formatter ProfileintoMaven Spotless Plugin#48047*import #45599Eclipse Formatter ProfileintoMaven Spotless Pluginspring-projects/spring-framework#34978importOrderwithMaven Spotless Pluginpmd/pmd#5776unused:

check:

apply:
