wuchong commented on a change in pull request #8200: [FLINK-11614] [docs-zh] Translate the "Configuring Dependencies" page into Chinese URL: https://github.com/apache/flink/pull/8200#discussion_r278375468
########## File path: docs/dev/projectsetup/dependencies.zh.md ########## @@ -99,31 +88,23 @@ When setting up a project manually, you need to add the following dependencies f </div> </div> -**Important:** Please note that all these dependencies have their scope set to *provided*. -That means that they are needed to compile against, but that they should not be packaged into the -project's resulting application jar file - these dependencies are Flink Core Dependencies, -which are already available in any setup. +**注意事项:** 所有这些依赖项的作用域都应该设置为 *provided* 。 +这意味着需要这些依赖进行编译,但不应将它们打包到项目生成的应用程序jar文件中-- +因为这些依赖项是 Flink 的核心依赖,在应用启动前已经是可用的状态了。 -It is highly recommended to keep the dependencies in scope *provided*. If they are not set to *provided*, -the best case is that the resulting JAR becomes excessively large, because it also contains all Flink core -dependencies. The worst case is that the Flink core dependencies that are added to the application's jar file -clash with some of your own dependency versions (which is normally avoided through inverted classloading). +我们强烈建议保持这些依赖的作用域为 *provided* 。 如果它们的作用域未设置为 *provided* ,则最好的情况是因为包含了 Flink 的核心依赖而导致生成的jar包变得过大。 Review comment: ```suggestion 我们强烈建议保持这些依赖的作用域为 *provided* 。 如果它们的作用域未设置为 *provided* ,则典型的情况是因为包含了 Flink 的核心依赖而导致生成的jar包变得过大。 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
