spring-cloud-gateway
spring-cloud-gateway copied to clipboard
Install Failed where CheckStyle not pass
My operation
git clone -b v3.1.3 https://github.com/spring-cloud/spring-cloud-gateway.git
cd spring-cloud-gateway
mvn clean install -DskipTests -Dcheckstyle.skip
And got Error for this:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Spring Cloud Gateway 3.1.3:
[INFO]
[INFO] spring-cloud-gateway-dependencies .................. SUCCESS [ 0.145 s]
[INFO] Spring Cloud Gateway ............................... SUCCESS [ 3.199 s]
[INFO] spring-cloud-gateway-mvc ........................... SUCCESS [ 5.560 s]
[INFO] spring-cloud-gateway-webflux ....................... SUCCESS [ 2.871 s]
[INFO] Spring Cloud Gateway Server ........................ FAILURE [ 5.404 s]
[INFO] spring-cloud-starter-gateway ....................... SKIPPED
[INFO] Spring Cloud Gateway Sample ........................ SKIPPED
[INFO] Spring Cloud Gateway Integration Tests ............. SKIPPED
[INFO] Spring Cloud Gateway gRPC Integration Test ......... SKIPPED
[INFO] Spring Cloud Gateway HTTP2 Integration Test ........ SKIPPED
[INFO] Spring Cloud Gateway MVC Failure Analyzer Integration Test SKIPPED
[INFO] Spring Cloud Gateway Docs .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.542 s
[INFO] Finished at: 2022-08-18T21:25:36+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (checkstyle-validation) on project spring-cloud-gateway-server: Failed during checkstyle execution: There are 135 errors reported by Checkstyle 8.43 with checkstyle.xml ruleset. -> [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 <args> -rf :spring-cloud-gateway-server
Maven Version
❯ mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/sunyelw/hy/application/apache-maven-3.6.3
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
JDK Version
❯ java -version
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)
Does is correct ?