I'm new to maven. My gwt-compatible project uses PlayN, which has a dependency on Google Guava r09:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>r09</version>
</dependency>
(The project isn't GWT itself, but it is a dependency of a GWT project, so everything in it needs to be GWT compatible.)
I want to use the gwt compatible version of r12. What is the best way to do this? I tried adding r12 to my own pom:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-gwt</artifactId>
<version>12.0</version>
</dependency>
But Eclipse reports that r12 is "omitted for conflict with r09". I tried excluding r09 from PlayN, but that didn't work:
<dependency>
<groupId>com.googlecode.playn</groupId>
<artifactId>playn-java</artifactId>
<version>1.1.1</version>
<exclusions>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
</dependency>
What is the best way to be able to use r12 in my project?