Gary Yao created FLINK-15623:
--------------------------------
Summary: Buildling flink-python with maven profile docs-and-source
fails
Key: FLINK-15623
URL: https://issues.apache.org/jira/browse/FLINK-15623
Project: Flink
Issue Type: Bug
Components: Build System
Affects Versions: 1.10.0
Environment: rev: 91d96abe5f42bd088a326870b4885d79611fccb5
Reporter: Gary Yao
Fix For: 1.10.0
*Description*
Building flink-python with maven profile docs-and-source fails due to
checkstyle violations.
*How to reproduce*
Running
{noformat}
mvn clean install -pl flink-python -Pdocs-and-source -DskipTests
-DretryFailedDeploymentCount=10
{noformat}
should fail with the following error
{noformat}
[...]
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8343]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8344]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8345]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8346]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8347]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8348]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8349]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[ERROR]
generated-sources/org/apache/flink/fnexecution/v1/FlinkFnApi.java:[8350]
(regexp) RegexpSinglelineJava: Line has leading space characters; indentation
should be performed with tabs only.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.046 s
[INFO] Finished at: 2020-01-16T16:44:01+00:00
[INFO] Final Memory: 158M/2826M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate) on
project flink-python_2.11: You have 7603 Checkstyle violations. -> [Help 1]
[ERROR]
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)