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.

2 comments
Comment actions Permalink

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

0
Comment actions Permalink

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).

0

Please sign in to leave a comment.