diff options
| author | Filip Hrisafov <filip.hrisafov@gmail.com> | 2024-01-04 21:23:12 +0100 |
|---|---|---|
| committer | Gunnar Morling <gunnar.morling@googlemail.com> | 2024-01-04 21:45:24 +0100 |
| commit | e5d074651fda427bd0ff96f1aea7e9ef9cc88a23 (patch) | |
| tree | e82c9afe75e0804434ed4b435e373f869f4527b2 /pom.xml | |
| parent | d7b1f3d86d20db529cd1ebd43789f2151e34ee04 (diff) | |
#63 CI build should fail if formatting is incorrect
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -165,6 +165,26 @@ </build> <profiles> <profile> + <id>ci</id> + <build> + <plugins> + <plugin> + <groupId>net.revelc.code.formatter</groupId> + <artifactId>formatter-maven-plugin</artifactId> + <executions> + <execution> + <id>validate-format</id> + <goals> + <goal>validate</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>qa</id> <activation> <property> |
