Maven Selenium Plugin is missing runtime dependency commons-exec (with fix)_
----------------------------------------------------------------------------

                 Key: MSELENIUM-74
                 URL: https://jira.codehaus.org/browse/MSELENIUM-74
             Project: Maven 2.x Selenium Plugin
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Rein Krul
            Priority: Critical


The Maven Selenium Plugin is missing runtime dependency commons-exec. The 
following NoClassDefFoundError occurs when invoking selenium:start:

java.lang.NoClassDefFoundError: org/apache/commons/exec/ExecuteWatchdog

This can be solved by adding the following dependency to pom.xml:

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-exec</artifactId>
    <version>1.1</version>
</dependency>

And adding the following classpath element in StartServerMojo.groovy, somewhere 
around line 325:

pathelement(location: pluginArifact('org.apache.commons:commons-exec'))

Tested with 2.2-SNAPSHOT

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to