I am building a plugin that has to support 3.0.4, and I want to use
the plugin testing harness.

So, into my pom went:

  <dependency>
            <groupId>org.apache.maven.plugin-testing</groupId>
            <artifactId>maven-plugin-testing-harness</artifactId>
            <version>3.0.0</version>
            <scope>test</scope>
        </dependency>

When I tried to run the test that resulted, I found that I got missing
class errors unless I also added:

 <dependency>
            <groupId>org.eclipse.aether</groupId>
            <artifactId>aether-api</artifactId>
            <version>1.0.0.v20140518</version>
            <scope>test</scope>
        </dependency>

and maven-core 3.0.4.

Once I had done all of that, I am now faced with guice having trouble
with Guava. My own code does use Guava 16.0.1.

Is there a way to make all this fit together? Should I just use a
newer p-t-h even if I'm running with Maven 3.0.4?


java.lang.IllegalAccessError: tried to access method
com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap;
from class com.google.inject.internal.Annotations$AnnotationChecker
at 
com.google.inject.internal.Annotations$AnnotationChecker.<init>(Annotations.java:104)
at com.google.inject.internal.Annotations.<clinit>(Annotations.java:122)
at com.google.inject.Key.ensureRetainedAtRuntime(Key.java:362)
at com.google.inject.Key.strategyFor(Key.java:354)
at com.google.inject.Key.get(Key.java:222)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to