8.1.2 Maven troubles
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building CANS Common
[INFO]
[INFO] Id: com.oa.common:cans_common:jar:2.0
[INFO] task-segment: [process-resources]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILED
[ERROR] Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-resources-plugin:2.2:resources
To view full stack traces, please go to the Settings->Maven and check the 'Print Exception Stack Traces' box.
I keep getting these errors with plugins when I re-import the the maven project. If I build from the command line everything works fine or if I just do an install.
Please sign in to leave a comment.
Hi, Marty,
This problem is likely to be causes by some Maven Embedder's incompatibility (IDEA uses this library to build Maven project's model).
If this message is shown during folders update, you can just disable automatic folders update option on the Settings->Maven->Importing page.
Thanks,
Anton Makeev
You use the same maven installation for CLI and IntellIj? Maybe you overwrote some standard settings?
For investigating further change the maven preferences so you see a more detailed stack trace of maven (To view full stack traces, please go to the Settings->Maven and check the 'Print Exception Stack Traces' box).