<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>10.0.1</version> </dependency>
this is what works for me without any special configuration for IntelliJ with auto-import enabled for all my Maven projects. Without automatic import, you must tell IntelliJ to manually allow pom.xml changes.
Make sure that you do not override the default values in pom.xml or ~/.m2/settings.xml with mirrors or other incorrect repository declarations.
source share