[hotfix] [kafka tests] Build a flink-connector-kafka-0.9 test-jar Build a test-jar including KafkaTestEnvironmentImpl so that Flink users can write end to end integration tests of their Flink jobs.
This closes #1972 Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/1e9fff4a Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/1e9fff4a Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/1e9fff4a Branch: refs/heads/master Commit: 1e9fff4abc3d5f5f6c239f0ff75d64a5b7505367 Parents: 91a845d Author: Steve Cosenza <[email protected]> Authored: Sun May 8 16:55:06 2016 -0700 Committer: Stephan Ewen <[email protected]> Committed: Tue May 17 20:53:46 2016 +0200 ---------------------------------------------------------------------- .../flink-connector-kafka-0.9/pom.xml | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/1e9fff4a/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml ---------------------------------------------------------------------- diff --git a/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml b/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml index be40233..f0bd98e 100644 --- a/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml +++ b/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml @@ -115,6 +115,39 @@ under the License. <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + <configuration> + <includes> + <include>**/KafkaTestEnvironmentImpl*</include> + </includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-test-sources</id> + <goals> + <goal>test-jar-no-fork</goal> + </goals> + <configuration> + <includes> + <include>**/KafkaTestEnvironmentImpl*</include> + </includes> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- Enforce single fork execution due to heavy mini cluster use in the tests -->
