[ 
https://jira.codehaus.org/browse/MSELENIUM-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284182#comment-284182
 ] 

Kristian Rosenvold commented on MSELENIUM-74:
---------------------------------------------

FWIW, this dependency was added to selenium-remote-driver today and will be 
fixed in 2.14. I would recommend users requring to run 2.13.0 to add 
commons-exec manually, and preferably /not/ apply this patch to the plugin 
trunk.

> 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
>         Attachments: pomxml-commons-exec.patch, 
> startservermojo-commons-exec.patch
>
>
> 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