Hello,
With maven3, you have to use
<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
<version>2.0-alpha-1</version>
<scope>test</scope>
</dependency>
2011/1/27 oliver <[email protected]>:
> Hi,
>
> I'm working at a Maven plugin for OOo which uses
> maven-plugin-testing-harness-1.2 for testing. With Maven-2 it works fine but
> with Maven-3 I'll get a
>
> java.lang.IllegalAccessError: tried to access field
> org.codehaus.plexus.PlexusTestCase.container from class
> org.apache.maven.plugin.testing.AbstractMojoTestCase
> at
> org.apache.maven.plugin.testing.AbstractMojoTestCase.validateContainerStatus(AbstractMojoTestCase.java:447)
> at
> org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:178)
> at
> org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:127)
> ...
>
> as error message during testing. Is there a chance to get the tests work also
> with Maven-3?
>
> regards,
> Oliver
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]