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

maven-scala-plugin:2.15.2:compile failed: For artifact {null:null:null:jar}: The groupId cannot be empty. #224

Closed
zhouhoo opened this issue Dec 25, 2017 · 2 comments

Comments

@zhouhoo
Copy link

zhouhoo commented Dec 25, 2017

When I build maven spark project , I encounter the build error:

Failed to execute goal org.scala-tools:maven-scala-plugin:2.15.2:compile (scala-compile-first) on project miui_ad_spark_ssp: Execution scala-compile-first of goal org.scala-tools:maven-scala-plugin:2.15.2:compile failed: For artifact {null:null:null:jar}: The groupId cannot be empty.

env:
ubuntu16.04,
jdk 1.8,
maven 3.5.2,
maven-scala-plugin:2.15.2
idea 2017.3.1

I tried clean, rebuild, google same question, but got almost nothing.
Can anyone give me a hand?

@isomarcte
Copy link
Contributor

@zhouhoo that appears to be using an old version of the plugin have you tried the most recent releases?

@davidB
Copy link
Owner

davidB commented Jun 9, 2018

try with a recent version of the plugin.
net.alchim31.maven:scala-maven-plugin:3.3.3

@davidB davidB closed this as completed Jun 9, 2018
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