-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.14.0
-
Fix Version/s: None
-
Component/s: Technical / Transverse
-
Tags:
Turn off your network and compile NOS source code:
$ mvn clean install -DskipTests ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (checkstyle) on project nos-gitty-client: Failed during checkstyle execution: Failed to load suppressions file from: /Users/mincong/Desktop/deposit/nos/gitty/nos-gitty-client/target/checkstyle-suppressions.xml: Unable to read /Users/mincong/Desktop/deposit/nos/gitty/nos-gitty-client/target/checkstyle-suppressions.xml: Unknown host checkstyle.org -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :nos-gitty-client
This is due to Checkstyle problems to run build offline (https://github.com/checkstyle/checkstyle/issues/6041) and it has been fixed in Checkstyle 8.13. Currently we use Maven Checkstyle Plugin 3.0 which relies on Checkstyle 6.18, upgrading to latest version Maven Checkstyle Plugin 3.1 which relies on Checkstyle 8.19 should fix the problem. This bug has been discovered when handling source code deposit (NXS-5351).