mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-06 10:31:11 +00:00
Apply spring-format plugin
This commit is contained in:
parent
82cb521d63
commit
4e1f87407d
36 changed files with 1128 additions and 1168 deletions
15
pom.xml
15
pom.xml
|
|
@ -28,6 +28,7 @@
|
|||
<wro4j.version>1.8.0</wro4j.version>
|
||||
|
||||
<jacoco.version>0.8.5</jacoco.version>
|
||||
<spring-format.version>0.0.17</spring-format.version>
|
||||
|
||||
</properties>
|
||||
|
||||
|
|
@ -130,6 +131,20 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.spring.javaformat</groupId>
|
||||
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
||||
<version>${spring-format.version}</version>
|
||||
<!-- run ./mvnw spring-javaformat:apply to apply -->
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>validate</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue