mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 10:20:41 +00:00
CI: Checkstyle
This commit is contained in:
parent
5cf04a979a
commit
15134d544d
@ -1,3 +1,4 @@
|
|||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
|
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check
|
||||||
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp test
|
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp test
|
||||||
|
13
pom.xml
13
pom.xml
@ -161,19 +161,10 @@
|
|||||||
<version>3.1.1</version>
|
<version>3.1.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configLocation>${project.build.directory}/../src/test/resources/checkstyle.xml</configLocation>
|
<configLocation>${project.build.directory}/../src/test/resources/checkstyle.xml</configLocation>
|
||||||
<consoleOutput>true</consoleOutput>
|
<failOnViolation>true</failOnViolation>
|
||||||
<failsOnError>true</failsOnError>
|
<violationSeverity>warning</violationSeverity>
|
||||||
<sourceDirectories>${project.build.directory}/../src/main/java</sourceDirectories>
|
<sourceDirectories>${project.build.directory}/../src/main/java</sourceDirectories>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>validate</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>check</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
Loading…
Reference in New Issue
Block a user