-
Notifications
You must be signed in to change notification settings - Fork 2.9k
consolidate spotless-maven-plugin
, formatter-maven-plugin
, and impsort-maven-plugin
#48394
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
return new Handler[] { | ||
createDefaultHandler() | ||
}; | ||
return new Handler[] { createDefaultHandler() }; |
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.
inline seems good.
* {@link NamingManager#setInitialContextFactoryBuilder(InitialContextFactoryBuilder) cannot be replaced} | ||
* and will never get garbage-collected due to being referenced from a sticky class ({@link NamingManager}), | ||
* so its classloader will never get garbage-collected either. | ||
* {@link NamingManager#setInitialContextFactoryBuilder(InitialContextFactoryBuilder) cannot be replaced} and will never |
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.
does use full length "128" now.
/cc @gsmet (elasticsearch), @loicmathieu (elasticsearch), @marko-bekhta (elasticsearch) |
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
@gsmet @gastaldi current setup does not fix unused imports due to bug in plugin. spot covered other two plugins making it 3 for 1 tradeoff as spot is already integrated but not in used, this an cost of carry issue itself. please lets work together. sorry for overpacing i need to coordinate better. its my hyper activity. having guidance from you we can leverage this and make the code better. please see that my suggestions can be used for good. i have no problem of a closed pr. we make better version every time. its no thing to rush of course. |
spotless
as root formatter tradeoff 3 for 1
pluginsspotless-maven-plugin
, formatter-maven-plugin
and impsort-maven-plugin
spotless-maven-plugin
, formatter-maven-plugin
and impsort-maven-plugin
spotless-maven-plugin
, formatter-maven-plugin
and impsort-maven-plugin
7f613dc
to
cf60bdf
Compare
@@ -196,8 +196,7 @@ | |||
<properties> | |||
<maven.compiler.target>21</maven.compiler.target> | |||
<maven.compiler.source>21</maven.compiler.source> | |||
<!-- javaparser 3.25.10 used by impsort-maven-plugin does not define the "language level" for 21 --> | |||
<!--maven.compiler.release>21</maven.compiler.release--> |
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.
cf60bdf
to
b9b3cd3
Compare
|
||
<profile> | ||
<id>format-kotlin</id> |
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.
…d impsort-maven-plugin
b9b3cd3
to
d7ba9bc
Compare
<!-- store outside of target to speed up formatting when mvn clean is used --> | ||
<cachedir>.cache/formatter-maven-plugin-${version.formatter.plugin}</cachedir> | ||
<configFile>eclipse-format.xml</configFile> | ||
<lineEnding>LF</lineEnding> |
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.
this is not applied!
<formats> | ||
<format> | ||
<trimTrailingWhitespace/> | ||
<endWithNewline/> |
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.
this will!
<importOrder> | ||
<file>${maven.multiModuleProjectDirectory}/independent-projects/ide-config/src/main/resources/eclipse.importorder</file> | ||
</importOrder> | ||
<removeUnusedImports /> |
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.
fixes leftovers:
spotless-maven-plugin
, formatter-maven-plugin
and impsort-maven-plugin
spotless-maven-plugin
, formatter-maven-plugin
and impsort-maven-plugin
spotless-maven-plugin
, formatter-maven-plugin
and impsort-maven-plugin
spotless-maven-plugin
, formatter-maven-plugin
, and impsort-maven-plugin
if you like then, need to |
quarkus dont care |
current stack is not formatting kotlin as not configured, as spotless currently is maverick but more capable of the 2 both existing plugsin which dont cover unused import due to bug:
removeUnused not working revelc/impsort-maven-plugin#139
format delta to spotless revelc/formatter-maven-plugin#986
apply consolidation
spotless-maven-plugin
,formatter-maven-plugin
, andimpsort-maven-plugin
#48397consolidate root config for
formatter-maven-plugin
andimpsort-maven-plugin
#48372sportless is already in place and ready to take over
kotlin format is not applied.
fix:
quarkus/extensions/websockets-next/deployment/pom.xml
Line 199 in 6f7b037