Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hudson-dev] Porting back Gerrit Trigger plugin

On 29-Aug-2012, at 12:45 PM, Stuart McCulloch wrote:
> Add a test dependency to upgrade sisu-inject-plexus to the same version as sisu-inject-bean (ie. 2.2.3) - the test classpath is currently pulling in an incompatible version which is causing the exception


[Oops!  I thought I'd sent this days ago.]

Unfortunately that causes other problems:

java.lang.NoClassDefFoundError: org/apache/commons/cli/UnrecognizedOptionException
        at hudson.maven.MavenEmbedder.getSettings(MavenEmbedder.java:244)
        at hudson.maven.MavenEmbedder.buildMavenExecutionRequest(MavenEmbedder.java:155)
        at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:122)
        at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:111)
        at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:138)
        at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritPluginTestCase$1.decorateHome(GerritPluginTestCase.java:68)
        at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:377)
        at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:240)
        at junit.framework.TestCase.runBare(TestCase.java:132)

Brian.hol

Back to the top