Can't build/run docs locally

59 views
Skip to first unread message

Peter Kehl

unread,
Apr 30, 2013, 4:43:15 AM4/30/13
to selenium-...@googlegroups.com
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


Luke Inman-Semerau

unread,
Apr 30, 2013, 9:15:44 AM4/30/13
to selenium-...@googlegroups.com, selenium-...@googlegroups.com
It appears you are trying to do this from the 'maven' directory in the main selenium repo, instead you need to clone the 'site' repo:


Looks like that wiki page is grossly out of date... I'll update it soon. 

-Luke
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Peter Kehl

unread,
Apr 30, 2013, 11:01:08 PM4/30/13
to selenium-...@googlegroups.com
hi Luke,

Thank you, that got it sorted.

Peter Kehl

unread,
May 1, 2013, 8:51:25 AM5/1/13
to selenium-...@googlegroups.com
hi Luke or others at Selenium,

there doesn't seem to be a Github replica/clone of selenium.site (neither of other Selenium repositories at Googlecode except for 'default'). If you created a Github replica/clone of selenium.site, people could fork it easily and provide fixes via pull requests.

-Peter


On Tuesday, April 30, 2013 11:15:44 PM UTC+10, Luke Inman-Semerau wrote:

Luke Inman-Semerau

unread,
May 1, 2013, 9:09:23 AM5/1/13
to selenium-...@googlegroups.com
It's there, just haven't gotten any direct activity on it since switching to git. 

--
Reply all
Reply to author
Forward
0 new messages