apache / incubator-streampark

Make stream processing easier! Easy-to-use streaming application development framework and operation platform.
https://streampark.apache.org/
Apache License 2.0
3.91k stars 1.01k forks source link

[Question] Build failed #679

Closed lostrain closed 2 years ago

lostrain commented 2 years ago

I followed official docs but build failed. My environment: mvn -v Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: /opt/apache-maven-3.8.4 Java version: 1.8.0_312, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-957.12.2.el7.x86_64", arch: "amd64", family: "unix"

npm -v 8.1.2

java -version openjdk version "1.8.0_312" OpenJDK Runtime Environment (build 1.8.0_312-b07) OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

My operation: download streamx-1.2.1-beta.1 , and run mvn clean install -DskipTests -Denv=prod -e

Output: [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.springframework.boot:streamx-console-service:jar:1.2.1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin is missing. @ line 626, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] StreamX Parent [pom] [INFO] StreamX : Common [jar] [INFO] StreamX : Flink Parent [pom] [INFO] StreamX : Flink Shims Parent [pom] [INFO] StreamX : Flink Shims Base [jar] [INFO] StreamX : Flink Shims 1.12 [jar] [INFO] StreamX : Flink Shims 1.13 [jar] [INFO] StreamX : Flink Shims 1.14 [jar] [INFO] StreamX : Flink Core [jar] [INFO] StreamX : Spark Parent [pom] [INFO] StreamX : Spark Core [jar] [INFO] StreamX : Spark Cli [pom] [INFO] StreamX : Plugin Parent [pom] [INFO] StreamX : Flink Repl [jar] [INFO] StreamX : Flink SQL Client [jar] [INFO] StreamX : Flink Udf [jar] [INFO] StreamX : Flink Proxy [jar] [INFO] StreamX : Flink Kubernetes Integration [jar] [INFO] StreamX : Flink Packer [jar] [INFO] StreamX : Flink Submit [pom] [INFO] StreamX : Flink Submit Api [jar] [INFO] StreamX : Flink Submit Core [jar] [INFO] StreamX : JVM Profiler [jar] [INFO] StreamX : Console Service [jar] [INFO] StreamX : Console Parent [pom] [INFO] [INFO] -------------------< com.streamxhub.streamx:streamx >------------------- [INFO] Building StreamX Parent 1.2.1 [1/25] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ streamx --- [INFO] Deleting /root/project/streamx-1.2.1-beta.1/target [INFO] [INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ streamx --- [INFO] Source directory: /root/project/streamx-1.2.1-beta.1/src/main/java added. [INFO] Source directory: /root/project/streamx-1.2.1-beta.1/src/main/scala added. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ streamx --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- scala-maven-plugin:4.3.0:add-source (install-scala) @ streamx --- [INFO] Add Test Source directory: /root/project/streamx-1.2.1-beta.1/src/test/scala [INFO] [INFO] --- scala-maven-plugin:4.3.0:compile (install-scala) @ streamx --- [INFO] compile in 0.0 s [INFO] No sources to compile [INFO] [INFO] --- scala-maven-plugin:4.3.0:add-source (test-compile-scala) @ streamx --- [INFO] [INFO] --- scala-maven-plugin:4.3.0:testCompile (test-compile-scala) @ streamx --- [INFO] compile in 0.0 s [INFO] No sources to compile [INFO] [INFO] --- scalastyle-maven-plugin:1.0.0:check (default) @ streamx --- [WARNING] sourceDirectory is not specified or does not exist value=/root/project/streamx-1.2.1-beta.1/src/main/scala Saving to outputFile=/root/project/streamx-1.2.1-beta.1/target/target/scalastyle-output.xml Processed 0 file(s) Found 0 errors Found 0 warnings Found 0 infos Finished in 127 ms [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ streamx --- [INFO] Installing /root/project/streamx-1.2.1-beta.1/pom.xml to /root/.m2/repository/com/streamxhub/streamx/streamx/1.2.1/streamx-1.2.1.pom [INFO] [INFO] ---------------< com.streamxhub.streamx:streamx-common >---------------- [INFO] Building StreamX : Common 1.2.1 [2/25] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.slf4j:slf4j-api:jar:1.7.25 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details Downloading from BBG-release: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/json-smart/maven-metadata.xml Downloading from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/json-smart/maven-metadata.xml Downloading from BBG-snapshot: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/json-smart/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml Downloaded from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/json-smart/maven-metadata.xml (1.2 kB at 79 B/s) [WARNING] Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml Downloading from BBG-snapshot: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/json-smart/2.3-SNAPSHOT/maven-metadata.xml Downloading from BBG-release: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/json-smart/2.3-SNAPSHOT/maven-metadata.xml Downloading from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/json-smart/2.3-SNAPSHOT/maven-metadata.xml Downloaded from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/json-smart/2.3-SNAPSHOT/maven-metadata.xml (1.2 kB at 14 kB/s) Downloading from BBG-release: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/minidev-parent/2.3-SNAPSHOT/maven-metadata.xml Downloading from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/minidev-parent/2.3-SNAPSHOT/maven-metadata.xml Downloading from BBG-snapshot: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/minidev-parent/2.3-SNAPSHOT/maven-metadata.xml Downloaded from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/minidev-parent/2.3-SNAPSHOT/maven-metadata.xml (598 B at 4.2 kB/s) Downloading from BBG-release: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/accessors-smart/1.2-SNAPSHOT/maven-metadata.xml Downloading from BBG-snapshot: http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot/net/minidev/accessors-smart/1.2-SNAPSHOT/maven-metadata.xml Downloading from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/accessors-smart/1.2-SNAPSHOT/maven-metadata.xml Downloaded from maven-down: http://af.hikvision.com.cn/artifactory/maven-down/net/minidev/accessors-smart/1.2-SNAPSHOT/maven-metadata.xml (1.2 kB at 8.8 kB/s) [WARNING] The POM for org.slf4j:slf4j-api:jar:1.6.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ streamx-common --- [INFO] Deleting /root/project/streamx-1.2.1-beta.1/streamx-common/target [INFO] [INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ streamx-common --- [INFO] Source directory: /root/project/streamx-1.2.1-beta.1/streamx-common/src/main/java added. [INFO] Source directory: /root/project/streamx-1.2.1-beta.1/streamx-common/src/main/scala added. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ streamx-common --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ streamx-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/project/streamx-1.2.1-beta.1/streamx-common/src/main/resources [INFO] [INFO] --- scala-maven-plugin:4.3.0:add-source (install-scala) @ streamx-common --- [INFO] Add Test Source directory: /root/project/streamx-1.2.1-beta.1/streamx-common/src/test/scala [INFO] [INFO] --- scala-maven-plugin:4.3.0:compile (install-scala) @ streamx-common --- [WARNING] net.minidev:json-smart/maven-metadata.xmlfailed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml [INFO] Using incremental compilation using Mixed compile order [INFO] Compiler bridge file: /root/.sbt/1.0/zinc/org.scala-sbt/org.scala-sbt-compiler-bridge_2.11-1.3.1-bin_2.11.12__52.0-1.3.1_20191012T045515.jar [INFO] Compiling 44 Scala sources and 10 Java sources to /root/project/streamx-1.2.1-beta.1/streamx-common/target/classes ... [WARNING] [Warn] /root/project/streamx-1.2.1-beta.1/streamx-common/src/main/scala/com/streamxhub/streamx/common/util/PropertiesUtils.scala:50: non-variable type argument String in type pattern java.util.LinkedHashMap[String,Any] is unchecked since it is eliminated by erasure [WARNING] [Warn] /root/project/streamx-1.2.1-beta.1/streamx-common/src/main/scala/com/streamxhub/streamx/common/util/JdbcUtils.scala:252: patterns after a variable pattern cannot match (SLS 8.1.1) [WARNING] [Warn] /root/project/streamx-1.2.1-beta.1/streamx-common/src/main/scala/com/streamxhub/streamx/common/util/JdbcUtils.scala:262: unreachable code due to variable pattern 'm' on line 252 [WARNING] [Warn] : there were 6 deprecation warnings; re-run with -deprecation for details [WARNING] four warnings found [INFO] Done compiling. [INFO] compile in 19.9 s [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ streamx-common --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /root/project/streamx-1.2.1-beta.1/streamx-common/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ streamx-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ streamx-common --- [INFO] Changes detected - recompiling the module! [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for StreamX Parent 1.2.1: [INFO] [INFO] StreamX Parent ..................................... SUCCESS [ 3.176 s] [INFO] StreamX : Common ................................... FAILURE [02:29 min] [INFO] StreamX : Flink Parent ............................. SKIPPED [INFO] StreamX : Flink Shims Parent ....................... SKIPPED [INFO] StreamX : Flink Shims Base ......................... SKIPPED [INFO] StreamX : Flink Shims 1.12 ......................... SKIPPED [INFO] StreamX : Flink Shims 1.13 ......................... SKIPPED [INFO] StreamX : Flink Shims 1.14 ......................... SKIPPED [INFO] StreamX : Flink Core ............................... SKIPPED [INFO] StreamX : Spark Parent ............................. SKIPPED [INFO] StreamX : Spark Core ............................... SKIPPED [INFO] StreamX : Spark Cli ................................ SKIPPED [INFO] StreamX : Plugin Parent ............................ SKIPPED [INFO] StreamX : Flink Repl ............................... SKIPPED [INFO] StreamX : Flink SQL Client ......................... SKIPPED [INFO] StreamX : Flink Udf ................................ SKIPPED [INFO] StreamX : Flink Proxy .............................. SKIPPED [INFO] StreamX : Flink Kubernetes Integration ............. SKIPPED [INFO] StreamX : Flink Packer ............................. SKIPPED [INFO] StreamX : Flink Submit ............................. SKIPPED [INFO] StreamX : Flink Submit Api ......................... SKIPPED [INFO] StreamX : Flink Submit Core ........................ SKIPPED [INFO] StreamX : JVM Profiler ............................. SKIPPED [INFO] StreamX : Console Service .......................... SKIPPED [INFO] StreamX : Console Parent ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:32 min [INFO] Finished at: 2022-01-24T13:35:56+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project streamx-common: Fatal error compiling: basedir /root/project/streamx-1.2.1-beta.1/streamx-common/target/generated-test-sources/test-annotations does not exist -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project streamx-common: Fatal error compiling at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1140) at org.apache.maven.plugin.compiler.TestCompilerMojo.execute (TestCompilerMojo.java:180) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.lang.IllegalStateException: basedir /root/project/streamx-1.2.1-beta.1/streamx-common/target/generated-test-sources/test-annotations does not exist at org.codehaus.plexus.util.DirectoryScanner.scan (DirectoryScanner.java:290) at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFilesForSourceRoot (AbstractCompiler.java:171) at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFiles (AbstractCompiler.java:204) at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile (JavacCompiler.java:131) at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1129) at org.apache.maven.plugin.compiler.TestCompilerMojo.execute (TestCompilerMojo.java:180) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :streamx-common

It raised target/generated-test-sources/test-annotations does not exists, I wonder if this directory is auto-created? And how can I continue?

lostrain commented 2 years ago

I don't think it's solved. I have tried latest version and got same error output.

[INFO] Reactor Summary for StreamX Parent 1.2.4-SNAPSHOT: [INFO] [INFO] StreamX Parent ..................................... SUCCESS [ 2.689 s] [INFO] StreamX : Common ................................... FAILURE [02:31 min] [INFO] StreamX : Flink Parent ............................. SKIPPED [INFO] StreamX : Flink Shims Parent ....................... SKIPPED [INFO] StreamX : Flink Shims Base ......................... SKIPPED [INFO] StreamX : Flink Shims 1.12 ......................... SKIPPED [INFO] StreamX : Flink Shims 1.13 ......................... SKIPPED [INFO] StreamX : Flink Shims 1.14 ......................... SKIPPED [INFO] StreamX : Flink Shims 1.15 ......................... SKIPPED [INFO] StreamX : Flink Core ............................... SKIPPED [INFO] StreamX : Flink Connector .......................... SKIPPED [INFO] StreamX : Flink Connector Base ..................... SKIPPED [INFO] StreamX : Flink Connector Clickhouse ............... SKIPPED [INFO] StreamX : Flink Connector Doris .................... SKIPPED [INFO] StreamX : Flink Connector Hbase .................... SKIPPED [INFO] StreamX : Flink Connector Http ..................... SKIPPED [INFO] StreamX : Flink Connector Elasticsearch ............ SKIPPED [INFO] StreamX : Flink Connector Elasticsearch5 ........... SKIPPED [INFO] StreamX : Flink Connector Elasticsearch6 ........... SKIPPED [INFO] StreamX : Flink Connector Elasticsearch7 ........... SKIPPED [INFO] StreamX : Flink Connector Influxdb ................. SKIPPED [INFO] StreamX : Flink Connector JDBC ..................... SKIPPED [INFO] StreamX : Flink Connector Kafka .................... SKIPPED [INFO] StreamX : Flink Connector Mongo .................... SKIPPED [INFO] StreamX : Plugin Parent ............................ SKIPPED [INFO] StreamX : Flink SQL Client ......................... SKIPPED [INFO] StreamX : Flink Udf ................................ SKIPPED [INFO] StreamX : Flink Proxy .............................. SKIPPED [INFO] StreamX : Flink Kubernetes Integration ............. SKIPPED [INFO] StreamX : Flink Packer ............................. SKIPPED [INFO] StreamX : Flink Submit ............................. SKIPPED [INFO] StreamX : Flink Submit Api ......................... SKIPPED [INFO] StreamX : Flink Submit Core ........................ SKIPPED [INFO] StreamX : JVM Profiler ............................. SKIPPED [INFO] StreamX : Console Parent ........................... SKIPPED [INFO] StreamX : Console Service .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:34 min [INFO] Finished at: 2022-05-21T18:49:23+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project streamx-common_2.12: Fatal error compiling: basedir /root/project/streamx-dev/streamx-common/target/generated-test-sources/test-annotations does not exist -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project streamx-common_2.12: Fatal error compiling at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1140) at org.apache.maven.plugin.compiler.TestCompilerMojo.execute (TestCompilerMojo.java:180) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.lang.IllegalStateException: basedir /root/project/streamx-dev/streamx-common/target/generated-test-sources/test-annotations does not exist at org.codehaus.plexus.util.DirectoryScanner.scan (DirectoryScanner.java:290) at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFilesForSourceRoot (AbstractCompiler.java:171) at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFiles (AbstractCompiler.java:204) at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile (JavacCompiler.java:131) at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1129) at org.apache.maven.plugin.compiler.TestCompilerMojo.execute (TestCompilerMojo.java:180) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :streamx-common_2.12