Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #2

Open
749888411 opened this issue May 30, 2019 · 2 comments

Comments

@749888411
Copy link

image
[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

@VincentRoma
Copy link

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

@GrzesiuKo
Copy link

GrzesiuKo commented May 4, 2020

Try running the build from the core/ catalogue. It worked for me in Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants