Open 749888411 opened 5 years ago
rg.apache.maven.plugins.enforcer.RequireOS failed with message: OS Arch: amd64 Family: windows Name: windows 10 Version: 10.0 is not allowed by Family=unix
You can't compile it on Windows, you need OSX or Linux
Try running the build from the core/
catalogue. It worked for me in Windows.
[WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireOS failed with message: OS Arch: amd64 Family: windows Name: windows 10 Version: 10.0 is not allowed by Family=unix [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] spark-hive-streaming-sink-main_2.11 ................ FAILURE [ 32.034 s] [INFO] spark-hive-streaming-sink_2.11 ..................... SKIPPED [INFO] spark-hive-streaming-sink-example_2.11 ............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 32.159 s [INFO] Finished at: 2019-05-30T13:40:52+08:00 [INFO] Final Memory: 22M/223M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) on project spark-hive-streaming-sink-main_2.11: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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