Importing a Maven project into Eclipse from Git

前端 未结 14 1577
误落风尘
误落风尘 2020-12-02 06:04

How can I get the effect of choosing to import from both Maven and Git and have Eclipse properly generate my project?

To get my project into Eclipse I can choose Fi

14条回答
  •  一向
    一向 (楼主)
    2020-12-02 07:03

    Instead of constantly generating project metadata via import->maven command, you can generate your project metadata once and the place it in your git repository along with the rest of your source code. After than, using import->git command will import a proper maven-enabled project, assuming you have maven tools installed.

    Make sure to place into the source control system all files in project dir that start with '.' such as .classpath and .project along with the entire contents of the .settings directory.

提交回复
热议问题