[ 
https://issues.apache.org/jira/browse/FLINK-33907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807087#comment-17807087
 ] 

Matthias Pohl commented on FLINK-33907:
---------------------------------------

I had a discussion with [~chesnay] on that issue. His argument from the comment 
above is reasonable. We would need to improve the Maven setup to make the 
individual test execution work in this specific case (either through the 
utilization of the failsafe plugin or by introducing another profile). This is 
covered by FLINK-34107. There is a (admittedly not so convenient) workaround 
documented in FLINK-34107. Alternatively, you can run {{mvn -pl flink-client 
verify}}.

The actual goal of FLINK-33907 is to allow for an improved performance of the 
build pipeline. That outweighs the need to run two tests individually on the 
command line in my opinion. [~gyfora] WDYT?

> Makes copying test jars being done later
> ----------------------------------------
>
>                 Key: FLINK-33907
>                 URL: https://issues.apache.org/jira/browse/FLINK-33907
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Build System / CI
>    Affects Versions: 1.18.0, 1.19.0
>            Reporter: Matthias Pohl
>            Assignee: Matthias Pohl
>            Priority: Major
>              Labels: github-actions, pull-request-available
>             Fix For: 1.19.0, 1.18.1
>
>
> We experienced an issue in GHA which is due to the fact how test resources 
> are pre-computed in GHA:
> {code:java}
> This fixes the following error when compiling 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] {code}
> We need to move this goal to a later phase.
> The reason why this popped up is (as far as I remember) that we do only do 
> test-compile in GitHub Actions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to