Skip to content

Commit 4a92012

Browse files
committed
Add Checkstyle plugin configuration to pom.xml
1 parent b29f7d2 commit 4a92012

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<plugin.class>edu.kit.travart.dopler.plugin.DoplerPlugin</plugin.class>
2121
<plugin.version>2.0</plugin.version>
2222
<plugin.provider>CPS</plugin.provider>
23+
<checkstyle-maven-plugin.version>3.6.0</checkstyle-maven-plugin.version>
2324
<plugin.dependencies/>
2425
</properties>
2526

@@ -103,6 +104,21 @@
103104
<skip>true</skip>
104105
</configuration>
105106
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-checkstyle-plugin</artifactId>
110+
<version>${checkstyle-maven-plugin.version}</version>
111+
<configuration>
112+
<configLocation>${project.basedir}/checkstyle.xml</configLocation>
113+
</configuration>
114+
<executions>
115+
<execution>
116+
<goals>
117+
<goal>check</goal>
118+
</goals>
119+
</execution>
120+
</executions>
121+
</plugin>
106122
<plugin>
107123
<groupId>org.apache.maven.plugins</groupId>
108124
<artifactId>maven-assembly-plugin</artifactId>

0 commit comments

Comments
 (0)