[
https://issues.apache.org/jira/browse/FLINK-33907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806052#comment-17806052
]
Matthias Pohl edited comment on FLINK-33907 at 1/12/24 1:06 PM:
----------------------------------------------------------------
I tried the same with a clean Maven repository without encountering any
problems. The same is true for the following test run:
{code:java}
mvn test -Dtest=DefaultPackagedProgramRetrieverTest
-Dsurefire.failIfNoSpecifiedTests=false -Dfast {code}
I wasn't able to reproduce it.
was (Author: mapohl):
I tried the same with a clean Maven repository without encountering any
problems. The same is true for the following test run:
mvn test -Dtest=DefaultPackagedProgramRetrieverTest
-Dsurefire.failIfNoSpecifiedTests=false -Dfast
I wasn't able to reproduce it.
> 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)