|
435 | 435 | </execution>
|
436 | 436 | </executions>
|
437 | 437 | </plugin>
|
| 438 | + <plugin> |
| 439 | + <groupId>com.diffplug.spotless</groupId> |
| 440 | + <artifactId>spotless-maven-plugin</artifactId> |
| 441 | + <version>2.30.0</version> |
| 442 | + <configuration> |
| 443 | + <!-- optional: limit format enforcement to just the files changed by this feature branch --> |
| 444 | + <!-- <ratchetFrom>origin/main</ratchetFrom>--> |
| 445 | + <formats> |
| 446 | + <!-- you can define as many formats as you want, each is independent --> |
| 447 | + <format> |
| 448 | + <!-- define the files to apply to --> |
| 449 | + <includes> |
| 450 | + <include>.gitattributes</include> |
| 451 | + <include>.gitignore</include> |
| 452 | + </includes> |
| 453 | + <!-- define the steps to apply to those files --> |
| 454 | + <trimTrailingWhitespace/> |
| 455 | + <endWithNewline/> |
| 456 | + <indent> |
| 457 | + <spaces>true</spaces> |
| 458 | + <spacesPerTab>4</spacesPerTab> |
| 459 | + </indent> |
| 460 | + </format> |
| 461 | + </formats> |
| 462 | + <!-- define a language-specific format --> |
| 463 | + <java> |
| 464 | + <palantirJavaFormat/> |
| 465 | + |
| 466 | + <indent> |
| 467 | + <spaces>true</spaces> |
| 468 | + <spacesPerTab>4</spacesPerTab> |
| 469 | + </indent> |
| 470 | + <importOrder/> |
| 471 | + |
| 472 | + <removeUnusedImports/> |
| 473 | + <formatAnnotations/> |
| 474 | + |
| 475 | + </java> |
| 476 | + </configuration> |
| 477 | + </plugin> |
438 | 478 | </plugins>
|
439 | 479 | </build>
|
440 | 480 |
|
|
513 | 553 | </executions>
|
514 | 554 | </plugin>
|
515 | 555 | <!-- end sign -->
|
516 |
| - <plugin> |
517 |
| - <groupId>com.diffplug.spotless</groupId> |
518 |
| - <artifactId>spotless-maven-plugin</artifactId> |
519 |
| - <version>2.30.0</version> |
520 |
| - <configuration> |
521 |
| - <!-- optional: limit format enforcement to just the files changed by this feature branch --> |
522 |
| - <!-- <ratchetFrom>origin/main</ratchetFrom>--> |
523 |
| - <formats> |
524 |
| - <!-- you can define as many formats as you want, each is independent --> |
525 |
| - <format> |
526 |
| - <!-- define the files to apply to --> |
527 |
| - <includes> |
528 |
| - <include>.gitattributes</include> |
529 |
| - <include>.gitignore</include> |
530 |
| - </includes> |
531 |
| - <!-- define the steps to apply to those files --> |
532 |
| - <trimTrailingWhitespace/> |
533 |
| - <endWithNewline/> |
534 |
| - <indent> |
535 |
| - <spaces>true</spaces> |
536 |
| - <spacesPerTab>4</spacesPerTab> |
537 |
| - </indent> |
538 |
| - </format> |
539 |
| - </formats> |
540 |
| - <!-- define a language-specific format --> |
541 |
| - <java> |
542 |
| - <palantirJavaFormat/> |
543 |
| - |
544 |
| - <indent> |
545 |
| - <spaces>true</spaces> |
546 |
| - <spacesPerTab>4</spacesPerTab> |
547 |
| - </indent> |
548 |
| - <importOrder/> |
549 |
| - |
550 |
| - <removeUnusedImports/> |
551 |
| - <formatAnnotations/> |
552 |
| - |
553 |
| - </java> |
554 |
| - </configuration> |
555 |
| - </plugin> |
556 | 556 | </plugins>
|
557 | 557 | </build>
|
558 | 558 | </profile>
|
|
0 commit comments