Github user mjsax commented on the pull request:

    https://github.com/apache/flink/pull/880#issuecomment-118047809
  
    I see. But changing the scope to "provided" is the wrong way to go. You 
need to exclude unnecessary sub-module dependencies:
    ```
    <dependency>
      <groupId>org.apache.flink</groupId>
      <artifactId>flink-contrib</artifactId>
      <version>${project.version}</version>
      <exclusions>
        <exclusion>
          <groupId>flink-storm-compatiblitly-parent</groupId>
          <version>${project.version}</version>
        </exclusion>
        <exclusion>
          <groupId>flink-streaming-contrib</groupId>
          <version>${project.version}</version>
        </exclusion>
        <exclusion>
          <groupId>flink-tweet-inputformat</groupId>
          <version>${project.version}</version>
        </exclusion>
      </exclusions>
    </dependency>
    ```
    However, I am wondering if the statistics collection code is placed 
correctly into flink-contrib. I thought flink-contrib is a "parent" project 
only containing sub-modules. For this case, statistic collection would be an 
own sub-module and you could just include this sub-module into your 
dependencies (this resolves the problem naturally)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to