Skip to content

Commit

Permalink
Add spring-javaformat plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed May 21, 2020
1 parent cf21591 commit c249fbf
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion pom.xml
Expand Up @@ -22,6 +22,7 @@
<vavr>0.10.2</vavr>
<scala>2.11.7</scala>
<xmlbeam>1.4.16</xmlbeam>
<spring-javaformat>0.0.23-SNAPSHOT</spring-javaformat>

<java-module-name>spring.data.commons</java-module-name>
</properties>
Expand Down Expand Up @@ -366,7 +367,20 @@
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${spring-javaformat}</version>
<executions>
<execution>
<phase>validate</phase>
<inherited>true</inherited>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit c249fbf

Please sign in to comment.