[INFO] Error building POM (may not be this project's POM).
Project ID: unknown:maven-eclipse-plugin
Reason: Parent: null:maven-eclipse-plugin:maven-plugin:2.8 of project: unknown:maven-eclipse-plugin has wrong packaging: maven-plugin. Must be 'pom'. for project unknown:maven-eclipse-plugin
org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving version for'org.apache.maven.plugins:maven-eclipse-plugin': Unable to read the metadata file for artifact 'org.apache.maven.plugins:maven-eclipse-plugin:pom': Parent: null:maven-eclipse-plugin:maven-plugin:2.8 of project: unknown:maven-eclipse-plugin has wrong packaging: maven-plugin. Must be 'pom'. for project unknown:maven-eclipse-plugin
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1549)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1787)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionResolutionException: Error resolving version for'org.apache.maven.plugins:maven-eclipse-plugin': Unable to read the metadata file for artifact 'org.apache.maven.plugins:maven-eclipse-plugin:pom': Parent: null:maven-eclipse-plugin:maven-plugin:2.8 of project: unknown:maven-eclipse-plugin has wrong packaging: maven-plugin. Must be 'pom'. for project unknown:maven-eclipse-plugin
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:682)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:187)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:179)
at org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(DefaultPluginManager.java:1642)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1540)
... 15 more
Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file for artifact 'org.apache.maven.plugins:maven-eclipse-plugin:pom': Parent: null:maven-eclipse-plugin:maven-plugin:2.8 of project: unknown:maven-eclipse-plugin has wrong packaging: maven-plugin. Must be 'pom'. for project unknown:maven-eclipse-plugin
at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:200)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:299)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:673)
... 20 more
Caused by: org.apache.maven.project.ProjectBuildingException: Parent: null:maven-eclipse-plugin:maven-plugin:2.8 of project: unknown:maven-eclipse-plugin has wrong packaging: maven-plugin. Must be 'pom'. for project unknown:maven-eclipse-plugin
You should not be using eclipse:eclipse, that target has been deprecated. Instead, install the m2eclipse plugin into Eclipse and use it to create the project.