This is an automated email from the ASF dual-hosted git repository.

mapohl pushed a commit to branch release-1.18
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.18 by this push:
     new ce9f5a26727 [FLINK-33907][ci] Makes copying test jars being done in 
the package phase
ce9f5a26727 is described below

commit ce9f5a2672769e34ffc90b45945a4d538bd8c1fd
Author: Matthias Pohl <matthias.p...@aiven.io>
AuthorDate: Fri Dec 8 17:26:22 2023 +0100

    [FLINK-33907][ci] Makes copying test jars being done in the package phase
    
    This fixes the following error when compiling the test artifacts of 
flink-clients:
    Error: 2.054 [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:3.2.0:copy-dependencies 
(copy-dependencies) on project flink-clients: Artifact has not been packaged 
yet. When used on reactor artifact, copy should be executed after packaging: 
see MDEP-187. -> [Help 1]
---
 flink-clients/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-clients/pom.xml b/flink-clients/pom.xml
index 29263003012..cecde26516f 100644
--- a/flink-clients/pom.xml
+++ b/flink-clients/pom.xml
@@ -157,7 +157,7 @@ under the License.
                                <executions>
                                        <execution>
                                                <id>copy-dependencies</id>
-                                               
<phase>process-test-resources</phase>
+                                               <phase>package</phase>
                                                <goals>
                                                        
<goal>copy-dependencies</goal>
                                                </goals>

Reply via email to