[Regression] Unable to invoke start-server goal when overloading selenium-server to 2.0x ----------------------------------------------------------------------------------------
Key: MSELENIUM-69 URL: http://jira.codehaus.org/browse/MSELENIUM-69 Project: Maven 2.x Selenium Plugin Issue Type: Bug Components: start-server Affects Versions: 1.1 Environment: maven 2 and 3 Reporter: Dan Tran Attachments: pom.xml When use plugin/dependencies to upgrade the selenium-server to 2.0aX ( see attached pom ), start-server goal fails to start with method not found exception. It works with selenium-plugin 1.0.1 Here is the error C:\tmp>mvn [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building badtest 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- selenium-maven-plugin:1.1:start-server (start-selenium) @ badtest --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.114s [INFO] Finished at: Thu Dec 30 00:11:29 PST 2010 [INFO] Final Memory: 4M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:selenium-maven-plugin:1.1:start-server (start-selenium) on project badtest: Execution start-selenium of goal org.codehaus.mojo:selenium-maven-plugin:1.1:star nium-maven-plugin:1.1:start-server: java.lang.NoSuchMethodError: org.apache.tools.ant.UnknownElement.setRealThing(Ljava/lang/Object;)V [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.codehaus.mojo:selenium-maven-plugin:1.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/mojo/selenium-maven-plugin/1.1/selenium-maven-plugin-1.1.jar [ERROR] urls[1] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-server/2.0a7/selenium-server-2.0a7.jar [ERROR] urls[2] = file:/C:/Users/dan.tran/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar [ERROR] urls[3] = file:/C:/Users/dan.tran/.m2/repository/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar [ERROR] urls[4] = file:/C:/Users/dan.tran/.m2/repository/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0.1.jar [ERROR] urls[5] = file:/C:/Users/dan.tran/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.9/servlet-api-2.5-6.1.9.jar [ERROR] urls[6] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-chrome-driver/2.0a7/selenium-chrome-driver-2.0a7.jar [ERROR] urls[7] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-remote-client/2.0a7/selenium-remote-client-2.0a7.jar [ERROR] urls[8] = file:/C:/Users/dan.tran/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar [ERROR] urls[9] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-remote-common/2.0a7/selenium-remote-common-2.0a7.jar [ERROR] urls[10] = file:/C:/Users/dan.tran/.m2/repository/org/json/json/20080701/json-20080701.jar [ERROR] urls[11] = file:/C:/Users/dan.tran/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar [ERROR] urls[12] = file:/C:/Users/dan.tran/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar [ERROR] urls[13] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-firefox-driver/2.0a7/selenium-firefox-driver-2.0a7.jar [ERROR] urls[14] = file:/C:/Users/dan.tran/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar [ERROR] urls[15] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0a7/selenium-htmlunit-driver-2.0a7.jar [ERROR] urls[16] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-common/2.0a7/selenium-common-2.0a7.jar [ERROR] urls[17] = file:/C:/Users/dan.tran/.m2/repository/net/sourceforge/htmlunit/htmlunit/2.8/htmlunit-2.8.jar [ERROR] urls[18] = file:/C:/Users/dan.tran/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar [ERROR] urls[19] = file:/C:/Users/dan.tran/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar [ERROR] urls[20] = file:/C:/Users/dan.tran/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar [ERROR] urls[21] = file:/C:/Users/dan.tran/.m2/repository/org/apache/httpcomponents/httpmime/4.0.1/httpmime-4.0.1.jar [ERROR] urls[22] = file:/C:/Users/dan.tran/.m2/repository/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6.jar [ERROR] urls[23] = file:/C:/Users/dan.tran/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar [ERROR] urls[24] = file:/C:/Users/dan.tran/.m2/repository/net/sourceforge/htmlunit/htmlunit-core-js/2.8/htmlunit-core-js-2.8.jar [ERROR] urls[25] = file:/C:/Users/dan.tran/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar [ERROR] urls[26] = file:/C:/Users/dan.tran/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar [ERROR] urls[27] = file:/C:/Users/dan.tran/.m2/repository/net/sourceforge/nekohtml/nekohtml/1.9.14/nekohtml-1.9.14.jar [ERROR] urls[28] = file:/C:/Users/dan.tran/.m2/repository/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5.jar [ERROR] urls[29] = file:/C:/Users/dan.tran/.m2/repository/org/w3c/css/sac/1.3/sac-1.3.jar [ERROR] urls[30] = file:/C:/Users/dan.tran/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar [ERROR] urls[31] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-ie-driver/2.0a7/selenium-ie-driver-2.0a7.jar [ERROR] urls[32] = file:/C:/Users/dan.tran/.m2/repository/net/java/dev/jna/jna/3.2.2/jna-3.2.2.jar [ERROR] urls[33] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-iphone-driver/2.0a7/selenium-iphone-driver-2.0a7.jar [ERROR] urls[34] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/selenium-support/2.0a7/selenium-support-2.0a7.jar [ERROR] urls[35] = file:/C:/Users/dan.tran/.m2/repository/com/google/guava/guava/r07/guava-r07.jar [ERROR] urls[36] = file:/C:/Users/dan.tran/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar [ERROR] urls[37] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/gmaven/gmaven-mojo/1.3/gmaven-mojo-1.3.jar [ERROR] urls[38] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-api/1.3/gmaven-runtime-api-1.3.jar [ERROR] urls[39] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/gmaven/feature/gmaven-feature-api/1.3/gmaven-feature-api-1.3.jar [ERROR] urls[40] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-1.5/1.3/gmaven-runtime-1.5-1.3.jar [ERROR] urls[41] = file:/C:/Users/dan.tran/.m2/repository/org/slf4j/slf4j-api/1.5.10/slf4j-api-1.5.10.jar [ERROR] urls[42] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/gmaven/feature/gmaven-feature-support/1.3/gmaven-feature-support-1.3.jar [ERROR] urls[43] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-support/1.3/gmaven-runtime-support-1.3.jar [ERROR] urls[44] = file:/C:/Users/dan.tran/.m2/repository/org/sonatype/gshell/gshell-io/2.0/gshell-io-2.0.jar [ERROR] urls[45] = file:/C:/Users/dan.tran/.m2/repository/org/sonatype/gossip/gossip/1.0/gossip-1.0.jar [ERROR] urls[46] = file:/C:/Users/dan.tran/.m2/repository/com/thoughtworks/qdox/qdox/1.10/qdox-1.10.jar [ERROR] urls[47] = file:/C:/Users/dan.tran/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar [ERROR] urls[48] = file:/C:/Users/dan.tran/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar [ERROR] urls[49] = file:/C:/Users/dan.tran/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar [ERROR] urls[50] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar [ERROR] urls[51] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5.jar [ERROR] urls[52] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/gmaven/gmaven-mojo-support/1.3/gmaven-mojo-support-1.3.jar [ERROR] urls[53] = file:/C:/Users/dan.tran/.m2/repository/org/codehaus/groovy/groovy-all/1.7.5/groovy-all-1.7.5.jar [ERROR] urls[54] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/server/selenium-server/1.0.3/selenium-server-1.0.3-standalone.jar [ERROR] urls[55] = file:/C:/Users/dan.tran/.m2/repository/org/seleniumhq/selenium/client-drivers/selenium-java-client-driver/1.0.2/selenium-java-client-driver-1.0.2.jar [ERROR] urls[56] = file:/C:/Users/dan.tran/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar [ERROR] urls[57] = file:/C:/Users/dan.tran/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException C:\tmp> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - 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