I meet the strange behavior of m2e on an eclipse:
- Clone project from git remote repository
- The dir structure shown in the explorer project does not have maven natures, only pom.xml in the root and packages. No "JRE System Library", no "Maven dependencies". No "src / main / java", only "my.packages.1", "my.packages.2"
- I am updating a project using maven-> Update Maven Project. Everything is well displayed, except for the one created bin directory, and the contents of bin dir are the same as the contents I wout from git.
Example: before updating the maven project:
.settings/ src/ pom.xml .gitignore
after the update maven project:
.settings/ src/ pom.xml .gitignore bin/ <------ this dir appears after update maven project bin/.settings/ <----------- contents the same as outside dir bin/src bin/.gitignore bin/pom.xml
How to avoid this strange behavior?
source share