This is an automated email from the ASF dual-hosted git repository.
davidradl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 2ad33c6b79a [hotfix][flink-tests] Fix duplicated dependency & plugin
(#28023)
2ad33c6b79a is described below
commit 2ad33c6b79a0805b868bc27cfc0ea725e391358a
Author: Dennis-Mircea Ciupitu <[email protected]>
AuthorDate: Mon May 18 15:42:06 2026 +0300
[hotfix][flink-tests] Fix duplicated dependency & plugin (#28023)
* [hotfix][flink-tests] Fix duplicated dependency & plugin
* [hotfix][flink-tests] Address PR comment
---
flink-tests/pom.xml | 38 ++++++++++++++------------------------
1 file changed, 14 insertions(+), 24 deletions(-)
diff --git a/flink-tests/pom.xml b/flink-tests/pom.xml
index b3e269856fa..cec3742b46b 100644
--- a/flink-tests/pom.xml
+++ b/flink-tests/pom.xml
@@ -90,12 +90,6 @@ under the License.
<type>test-jar</type>
</dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-shaded-guava</artifactId>
- <scope>test</scope>
- </dependency>
-
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-jackson</artifactId>
@@ -219,6 +213,7 @@ under the License.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-guava</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
@@ -427,6 +422,19 @@ under the License.
</sources>
</configuration>
</execution>
+ <!-- Add generated Avro test sources to
build path -->
+ <execution>
+ <id>add-avro-test-source</id>
+
<phase>generate-test-sources</phase>
+ <goals>
+
<goal>add-test-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+
<source>${project.build.directory}/generated-test-sources/avro</source>
+ </sources>
+ </configuration>
+ </execution>
</executions>
</plugin>
@@ -700,24 +708,6 @@ under the License.
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
-
<artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-avro-test-source</id>
-
<phase>generate-test-sources</phase>
- <goals>
-
<goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
-
<source>${project.build.directory}/generated-test-sources/avro</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>