Since those two artifacts have different group and artifact IDs, Maven doesn't see them as duplicates and will include both in the build. That means that the class definition that is used when you refer to a class in, for example, com.google.commons.base
will be determined by the classpath order.
Maven classpath ordering is deterministic, so place the library you wish to use (presumably, Guava) earlier in your pom and that will be the one used. (To confirm this, View a dependency tree in Maven?)
Mixing artifacts with duplicate classes is generally not a good idea. If you can, standardise on Guava.