Fix to stop build failure on CopyrightCheck Error 63/128363/1
authorlukegleeson <luke.gleeson@est.tech>
Thu, 7 Apr 2022 10:37:39 +0000 (11:37 +0100)
committerlukegleeson <luke.gleeson@est.tech>
Thu, 7 Apr 2022 10:37:39 +0000 (11:37 +0100)
- 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

checkstyle/pom.xml

index bd34368..8d11742 100644 (file)
                                 <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>