[ https://issues.apache.org/jira/browse/FLINK-33907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806838#comment-17806838 ]
Chesnay Schepler commented on FLINK-33907: ------------------------------------------ Unit tests should not rely on jars having been packaged; change it to an ITCase instead. > 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)