I encounter a strange behavior of m2e on eclipse:
example: before update maven project:
.settings/
src/
pom.xml
.gitignore
after 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 should I avoid this strange behavior?
It seems, that before you did the "update project", the bin
dir was configured as output directory. Output directories are hidden by default in Eclipse (at least in Package Explorer and Project Explorer). When you configured the project as Maven project, the output directory was changed to target/classes
. Your bin folder is now just another folder, which isn't hidden any more.
Since you don't need it anymore, you can safely delete it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With