maven-plugin-testing-harness with Maven 3

2011-01-27 Thread oliver
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

Re: maven-plugin-testing-harness with Maven 3

2011-01-27 Thread Olivier Lamy
Hello, With maven3, you have to use dependency groupIdorg.apache.maven.plugin-testing/groupId artifactIdmaven-plugin-testing-harness/artifactId version2.0-alpha-1/version scopetest/scope /dependency 2011/1/27 oliver oliver.bo...@gmail.com: Hi, I'm working at

Re: maven-plugin-testing-harness with Maven 3

2011-01-27 Thread oliver
but then I have the problem that it does not work with Maven-2. One of our build server uses Maven-3 and the other Maven-2. I guess this can be handled by a profile section. Or is there another (better) way to do this? regards, Oliver Am 27.01.2011 um 22:41 schrieb Olivier Lamy: Hello,

Re: maven-plugin-testing-harness with Maven 3

2011-01-27 Thread Olivier Lamy
yup use a profile section (as for the site plugin) 2011/1/27 oliver oliver.bo...@gmail.com: but then I have the problem that it does not work with Maven-2. One of our build server uses Maven-3 and the other Maven-2. I guess this can be handled by a profile section. Or is there another