Hi.
I'm trying to build/run a local copy of Selenium docs. I've tried to follow
https://code.google.com/p/selenium/wiki/Documentation and it fails.
I'm new to git and maven. Details of the error are below. Is it something specific to my installation or to current Maven repositoriy, or is something missing on Selenium side?
Thanks
- Peter
# CentOS 6.2 x64, Java SE 1.7.0, with Python 2.6.6, sphinx-build 1.2b1, Maven 3.0.5
# having a git clone of selenium about a week old
# having HTTP and HTTPS proxy in ~/.m2/settings.xml
cd selenium/maven
mvn clean jetty:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.seleniumhq.selenium:selenium-api:jar:2.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 71, column 21
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.seleniumhq.selenium:selenium-java:jar:2.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 131, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
.....
[WARNING] The POM for org.codehaus.mojo:maven-versions-plugin:jar:1.2 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:maven-versions-plugin:1.2: Plugin org.codehaus.mojo:maven-versions-plugin:1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:maven-versions-plugin:jar:1.2
.....
INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] selenium-parent ................................... SKIPPED
[INFO] selenium-api ...................................... SKIPPED
[INFO] selenium-remote-driver ............................ SKIPPED
[INFO] selenium-android-driver ........................... SKIPPED
[INFO] selenium-chrome-driver ............................ SKIPPED
[INFO] selenium-firefox-driver ........................... SKIPPED
[INFO] selenium-htmlunit-driver .......................... SKIPPED
[INFO] selenium-ie-driver ................................ SKIPPED
[INFO] selenium-iphone-driver ............................ SKIPPED
[INFO] selenium-safari-driver ............................ SKIPPED
[INFO] selenium-support .................................. SKIPPED
[INFO] selenium-java ..................................... SKIPPED
[INFO] selenium-server ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.256s
[INFO] Finished at: Tue Apr 30 18:32:53 EST 2013
[INFO] Final Memory: 11M/135M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/pkehl/.m2/repository), central (
http://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException