I am trying to import a project into Spring Source Tool Suite (latest version).
The project was previously created from maven archetype cataloge.
I am getting
Your error has nothing to do with the project or the maven configuration. It has to do with the fact that the new versions of Eclipse have the M2E (previously known as M2Eclipse) project built into it now.
The new version has been improved so that as it imports your Maven project it reads the pom and properly sets up the Eclipse project. To do this it needs various connectors, most of which are already available and configured to do the Right Thing. However, your plugin executions have not been pre-configured and so you need to tell M2E what you want to have happen when Eclipse does a Maven build.
For me, I configured M2E to "ignore" these executions by adding the following to BuildManagement:
org.eclipse.m2e
lifecycle-mapping
1.0.0
org.apache.maven.plugins
maven-dependency-plugin
[1.0,)
copy-dependencies
unpack
org.codehaus.mojo
hibernate3-maven-plugin
[2.2,)
hbm2ddl
org.sonatype.flexmojos
flexmojos-maven-plugin
[4.0-RC2,)
compile-swc
compile-swf
copy-flex-resources
generate
test-compile
Read all about it here:
How to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds