[jira] [Created] (FLINK-4813) Having flink-test-utils as a dependency outside Flink fails the build

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4813) Having flink-test-utils as a dependency outside Flink fails the build

Shang Yuanchun (Jira)
Robert Metzger created FLINK-4813:
-------------------------------------

             Summary: Having flink-test-utils as a dependency outside Flink fails the build
                 Key: FLINK-4813
                 URL: https://issues.apache.org/jira/browse/FLINK-4813
             Project: Flink
          Issue Type: Bug
          Components: Build System
    Affects Versions: 1.2.0
            Reporter: Robert Metzger


The {{flink-test-utils}} depend on {{hadoop-minikdc}}, which has a dependency, which is only resolvable, if the {{maven-bundle-plugin}} is loaded.

{{flink-parent}} loads that plugin, so all "internal" dependencies to the test utils can resolve the plugin.
Right now, users have to use the maven bundle plugin to use our test utils externally.

By making the hadoop minikdc dependency optional, we can probably resolve the issues. Then, only users who want to use the security-related tools in the test utils need to manually add the hadoop minikdc dependency + the plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)