zentol commented on a change in pull request #18676:
URL: https://github.com/apache/flink/pull/18676#discussion_r802608726



##########
File path: flink-table/README.md
##########
@@ -65,7 +66,8 @@ If you want to use Table API & SQL, check out the 
[documentation](https://nightl
 
 ### Notes
 
-No module except `flink-table-planner` should depend on `flink-table-runtime` 
in production classpath, 
+No module except `flink-table-planner` should depend on `flink-table-runtime` 
in production classpath,

Review comment:
       Yes, like this:
   
   ```
   <execution>
        <id>forbid-direct-table-planner-dependencies</id>
        <goals>
                <goal>enforce</goal>
        </goals>
        <configuration>
                <rules>
                        <bannedDependencies>
                                <excludes>
                                        
<exclude>org.apache.flink:flink-table-planner</exclude>
                                </excludes>
                                <includes>
                                        
<include>org.apache.flink:flink-table-planner:*:test</include>
                                </includes>
                                <message>
                                        Direct dependencies on 
flink-table-planner are not allowed.
                                </message>
                        </bannedDependencies>
                </rules>
        </configuration>
   </execution>
   ```
   
   You'd have to replicate this for runtime, planner-loader, 
planner-loader-bundle, and then work your way through various exceptions and 
disable the execution in the respective module.




-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to