aboutsummaryrefslogtreecommitdiffstats
path: root/checkstyle
diff options
context:
space:
mode:
authorlukegleeson <luke.gleeson@est.tech>2022-04-07 11:37:39 +0100
committerlukegleeson <luke.gleeson@est.tech>2022-04-07 11:37:39 +0100
commit08aa7c36a39ee90ba41d308a5363ef761e9bcda8 (patch)
tree581a045e18a638530808f32a21f5f52a54bd7a5e /checkstyle
parent243c675e428a0b96646f3b183d0cb8d04135e2a3 (diff)
Fix to stop build failure on CopyrightCheck Error
- This will make the maven build see an error thrown by the python script as a success and won't fail the build Issue-ID: CPS-911 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ibc5311de8a2f173a92e44c20c1c244f016a99588
Diffstat (limited to 'checkstyle')
-rw-r--r--checkstyle/pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/checkstyle/pom.xml b/checkstyle/pom.xml
index bd343683b2..8d11742000 100644
--- a/checkstyle/pom.xml
+++ b/checkstyle/pom.xml
@@ -91,6 +91,10 @@
<argument>resources/copyright-template.txt</argument>
<argument>resources/ignore-files-config.csv</argument>
</arguments>
+ <successCodes>
+ <successCode>0</successCode>
+ <successCode>1</successCode>
+ </successCodes>
</configuration>
</execution>
</executions>