Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why eclipse m2e error "add a version or custom suffix using name template in advanced settings"

Tags:

eclipse

maven

m2e

In eclipse when I am trying to import a muti pom project from git or svn through the m2e plugin, it's giving me the error:

add a version or custom suffix using name template in advanced settings because of the project xxx already exists

I am sure some of the projects are not in the /workspace folder

like image 654
abc the origional Avatar asked May 05 '16 12:05

abc the origional


People also ask

What is Eclipse m2e settings?

This plugin synchronises the settings done in your project's Maven POM file with the Eclipse settings. All you need to provide is a JAR file with the settings files, and configure the maven-eclipse-plugin in your POM to use these settings.


1 Answers

You can use the "Advanced" option at bottom of import window, "Name template" select "[artifactId]-[version]","Profiles" fill the project name and version, eg:helloWord-0.0.1-SNAPSHOT

just test, and good luck

like image 123
Gherkin.G Avatar answered Oct 14 '22 03:10

Gherkin.G