During work in my Maven controlled java project in Eclipse sometimes strange dependencies are added into the pom.xml of the project (scala.lang or whatever). Most often I realize this when committing my changes to source repository (and sometimes I don't realize it).
I use Spring Source Tool Suite 3.5.1, based on Kepler 4.3.2, installed Maven Integration for AJDT from Sonatype.
Possibly there is some automatism by Eclipse when it auto-determines imports in a source file, that it adds dependencies into the pom.xml. Can I disable this undesired behavior?
Yes, it can be disabled. Go to "window >> Preferences >> Java >> Editor >> Content Assist >> Advanced". Uncheck the 'Jar Type Search' content assist provider in both lists and press 'OK'.
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