I add guava 17.0 to my pom.xml, Eclipse automatically rebuilds project.
Ran mvn dependency:resolve
, maven shows com.google.guava:guava:jar:17.0:compile
in the list of resolved files.
However when in Eclipse I try to auto-complete com.google.g
, it says "No default proposals". I've added dependencies in my pom.xml before, run mvn dependency:resolve
and Eclipse picked them up immediately. What's different this time?
I've tried the following so far:
- Tried cleaning the project and letting it automatically rebuild.
- Clean, auto-rebuild, re-start Eclipse.
mvn clean
followed bymvn install
- https://stackoverflow.com/a/6913992/91933
- https://stackoverflow.com/a/12978632/91933
- https://stackoverflow.com/a/2393810/91933 (although I couldn't get Eclipse to accept $HOME/.m2 as the Maven repository (which it is)).
I can see target/<projname>-1.0-SNAPSHOT/WEB-INF/lib/guava-17.0.jar
.
My configuration:
- OS: OS X 10.9.3
- Maven: 3.1.1
- Eclipse: Kepler (with m2e 1.4)