[
https://jira.codehaus.org/browse/MSELENIUM-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284188#comment-284188
]
Olivier Lamy commented on MSELENIUM-74:
---------------------------------------
@Rein: you can add dependency on selenium version you want see how the mojo is
configured here
[http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml]
@Kristian not so easy to add dependency manually :-) see
[http://svn.codehaus.org/mojo/trunk/mojo/selenium-maven-plugin/src/main/groovy/org/codehaus/mojo/selenium/StartServerMojo.groovy]
> 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