This is an automated email from the ASF dual-hosted git repository. trohrmann pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit fe3c266fa9f2105efd090f44e36bb4eb4d179ab3 Author: Till Rohrmann <[email protected]> AuthorDate: Mon Dec 27 15:36:52 2021 +0100 [hotfix] Move junit and hamcrest-all test dependency to dependencyManagement This commit sets the junit and hamcrest-all test dependency version and scope in the dependencyManagement section of the root pom to unify all dependencies. This has the purpose to avoid the usage of different testing libraries. --- pom.xml | 17 +++++++++++++++++ statefun-e2e-tests/statefun-e2e-tests-common/pom.xml | 7 +++++++ statefun-e2e-tests/statefun-smoke-e2e-common/pom.xml | 7 +++++++ .../statefun-smoke-e2e-multilang-harness/pom.xml | 2 -- statefun-flink/statefun-flink-common/pom.xml | 4 ---- statefun-flink/statefun-flink-core/pom.xml | 4 ---- statefun-flink/statefun-flink-datastream/pom.xml | 4 ---- statefun-flink/statefun-flink-io-bundle/pom.xml | 4 ---- statefun-flink/statefun-flink-state-processor/pom.xml | 4 ---- statefun-kafka-io/pom.xml | 4 ---- statefun-kinesis-io/pom.xml | 2 -- statefun-sdk-embedded/pom.xml | 4 ---- statefun-sdk-java/pom.xml | 4 ---- statefun-testutil/pom.xml | 3 --- 14 files changed, 31 insertions(+), 39 deletions(-) diff --git a/pom.xml b/pom.xml index 7f74819..c221c1c 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,23 @@ under the License. </dependency> </dependencies> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-all</artifactId> + <version>1.3</version> + <scope>test</scope> + </dependency> + </dependencies> + </dependencyManagement> + <profiles> <!-- diff --git a/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml b/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml index a203e0b..ac3abcb 100644 --- a/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml +++ b/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml @@ -113,5 +113,12 @@ under the License. </exclusion> </exclusions> </dependency> + + <!-- Junit --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>compile</scope> + </dependency> </dependencies> </project> diff --git a/statefun-e2e-tests/statefun-smoke-e2e-common/pom.xml b/statefun-e2e-tests/statefun-smoke-e2e-common/pom.xml index d60d6d2..6e7c54d 100644 --- a/statefun-e2e-tests/statefun-smoke-e2e-common/pom.xml +++ b/statefun-e2e-tests/statefun-smoke-e2e-common/pom.xml @@ -46,6 +46,13 @@ under the License. </exclusions> </dependency> + <!-- Junit --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>compile</scope> + </dependency> + <!-- Protobuf Commands messages --> <dependency> <groupId>com.google.protobuf</groupId> diff --git a/statefun-e2e-tests/statefun-smoke-e2e-multilang-harness/pom.xml b/statefun-e2e-tests/statefun-smoke-e2e-multilang-harness/pom.xml index 6e69f73..cc7b683 100644 --- a/statefun-e2e-tests/statefun-smoke-e2e-multilang-harness/pom.xml +++ b/statefun-e2e-tests/statefun-smoke-e2e-multilang-harness/pom.xml @@ -59,8 +59,6 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> </dependencies> </project> diff --git a/statefun-flink/statefun-flink-common/pom.xml b/statefun-flink/statefun-flink-common/pom.xml index 1e1a576..28655d6 100644 --- a/statefun-flink/statefun-flink-common/pom.xml +++ b/statefun-flink/statefun-flink-common/pom.xml @@ -62,14 +62,10 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.apache.flink</groupId> diff --git a/statefun-flink/statefun-flink-core/pom.xml b/statefun-flink/statefun-flink-core/pom.xml index 790240c..5c79728 100644 --- a/statefun-flink/statefun-flink-core/pom.xml +++ b/statefun-flink/statefun-flink-core/pom.xml @@ -102,14 +102,10 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.apache.flink</groupId> diff --git a/statefun-flink/statefun-flink-datastream/pom.xml b/statefun-flink/statefun-flink-datastream/pom.xml index 2679286..ed93b56 100644 --- a/statefun-flink/statefun-flink-datastream/pom.xml +++ b/statefun-flink/statefun-flink-datastream/pom.xml @@ -82,14 +82,10 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> </dependencies> diff --git a/statefun-flink/statefun-flink-io-bundle/pom.xml b/statefun-flink/statefun-flink-io-bundle/pom.xml index 46270b4..a6b96a9 100644 --- a/statefun-flink/statefun-flink-io-bundle/pom.xml +++ b/statefun-flink/statefun-flink-io-bundle/pom.xml @@ -103,14 +103,10 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> </dependencies> diff --git a/statefun-flink/statefun-flink-state-processor/pom.xml b/statefun-flink/statefun-flink-state-processor/pom.xml index 964ba02..efc0eca 100644 --- a/statefun-flink/statefun-flink-state-processor/pom.xml +++ b/statefun-flink/statefun-flink-state-processor/pom.xml @@ -63,8 +63,6 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> @@ -90,8 +88,6 @@ under the License. <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> </dependencies> diff --git a/statefun-kafka-io/pom.xml b/statefun-kafka-io/pom.xml index 65183cb..9ea9176 100644 --- a/statefun-kafka-io/pom.xml +++ b/statefun-kafka-io/pom.xml @@ -57,14 +57,10 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> </dependencies> </project> diff --git a/statefun-kinesis-io/pom.xml b/statefun-kinesis-io/pom.xml index eeeec34..4bfbf35 100644 --- a/statefun-kinesis-io/pom.xml +++ b/statefun-kinesis-io/pom.xml @@ -39,8 +39,6 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> </dependencies> </project> \ No newline at end of file diff --git a/statefun-sdk-embedded/pom.xml b/statefun-sdk-embedded/pom.xml index 12fc603..90a903c 100644 --- a/statefun-sdk-embedded/pom.xml +++ b/statefun-sdk-embedded/pom.xml @@ -42,14 +42,10 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> </dependencies> diff --git a/statefun-sdk-java/pom.xml b/statefun-sdk-java/pom.xml index a9754b5..eaf1931 100644 --- a/statefun-sdk-java/pom.xml +++ b/statefun-sdk-java/pom.xml @@ -39,14 +39,10 @@ under the License. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> - <scope>test</scope> </dependency> </dependencies> diff --git a/statefun-testutil/pom.xml b/statefun-testutil/pom.xml index c4ff0ee..9207363 100644 --- a/statefun-testutil/pom.xml +++ b/statefun-testutil/pom.xml @@ -36,14 +36,11 @@ under the License. <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> - <version>1.3</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> </dependencies>
