Hi hjw,
it would be interesting to know the exact Maven commands you used for the
successful run (where you compiled the flink-client module individually)
and the failed run (where you tried to build everything at once) and
probably a more complete version of the Maven output.

The path
D:\learn\Code\Flink\FlinkSourceCode\Flink-1.15\flink\src\test\assembly\test-assembly.xml
appears
to be strange. The Flink sources have a test-assembly.xml file
configuration in two locations:
$ find . -name test-assembly.xml
./flink-clients/src/test/assembly/test-assembly.xml
./flink-formats/flink-avro/src/test/assembly/test-assembly.xml

There's also no src folder in Flink's root folder which indicates there's
something which (at least I) don't understand about your setup.

Best,
Matthias

On Fri, Aug 19, 2022 at 3:16 AM yuxia <luoyu...@alumni.sjtu.edu.cn> wrote:

> which mvn version do you use? It's recommanded to use maven 3.2.5
>
> Best regards,
> Yuxia
>
> ------------------------------
> *发件人: *"hjw" <1010445...@qq.com>
> *收件人: *"User" <user@flink.apache.org>
> *发送时间: *星期四, 2022年 8 月 18日 下午 10:48:57
> *主题: *Failing to maven compile install Flink 1.15
>
> I try to maven clean install Flink 1.15 parent,but fail.
> A Error happened in compiling flink-clients.
> Error Log:
> Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.4:single
> (create-test-dependency) on project flink-clients: Error reading
> assemblies: Error locating assembly descriptor:
> src/test/assembly/test-assembly.xml
>
> [1] [INFO] Searching for file location:
> D:\learn\Code\Flink\FlinkSourceCode\Flink-1.15\flink\flink-clients\target\src\test\assembly\test-assembly.xml
>
> [2] [INFO] File:
> D:\learn\Code\Flink\FlinkSourceCode\Flink-1.15\flink\flink-clients\target\src\test\assembly\test-assembly.xml
> does not exist.
>
> [3] [INFO] File:
> D:\learn\Code\Flink\FlinkSourceCode\Flink-1.15\flink\src\test\assembly\test-assembly.xml
> does not exist.
>
>
> However, mvn clean package Flink 1.15 parent  and  flink-client alone are
> successful.
>
>
>

Reply via email to