Skip to content

Commit 49ad220

Browse files
committed
fixup: fix maven target
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
1 parent fa55261 commit 49ad220

File tree

1 file changed

+47
-40
lines changed

1 file changed

+47
-40
lines changed

pom.xml

Lines changed: 47 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,53 @@
435435
</execution>
436436
</executions>
437437
</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+
<executions>
478+
<execution>
479+
<goals>
480+
<goal>check</goal>
481+
</goals>
482+
</execution>
483+
</executions>
484+
</plugin>
438485
</plugins>
439486
</build>
440487

@@ -513,46 +560,6 @@
513560
</executions>
514561
</plugin>
515562
<!-- 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>
556563
</plugins>
557564
</build>
558565
</profile>

0 commit comments

Comments
 (0)