Migrate the Eclipse project to intellij IDEA, eclipseintellij
Since using intellij IDEA, many projects want to migrate to intellij for development.Since most of our projects are built based on Maven, we can use maven commands to do this.
1. Select an eclipse project, which is built based on maven
2. Copy the project to another directory.
The project contains the eclipse configuration file.
3. Open cmd cd and run the command in this directory.
mvn eclipse:clean
This command will clear the configuration files related to eclipse.
So the directory becomes like this.
4. Run the command
mvn idea:idea
Add idea-related configuration files to the Project
As a result, the project file of intellij is added to the directory.
5. Copy the project to the IDEA workspace.
Run the inport model command.
So far, the migration from Eclipse maven project to intellij IDEA has been completed.