2012-02-06 31 views
0

私はMaven 3.0.3を使用しています。 Seleniumテストの実行にSelenium Mavenプラグインのセレン目標を使用したいが、必要なSelenium-server JARが見つかりません。私は...私のpom.xmlにセレンサーバMavenの依存関係はどこにありますか?

<dependency> 
     <groupId>org.openqa.selenium.server</groupId> 
     <artifactId>selenium-server</artifactId> 
     <version>0.9.2</version> 
    </dependency> 

これを持っていますが、私は私のビルドを実行すると、私はエラーに取得する私は、この神秘的なJARファイルを取得するか、またはどのようなリポジトリ私がする必要があります

[ERROR] Failed to execute goal on project cme-productplus-web2: Could not resolve dependencies for project cme-productplus2:cme-productplus-web2:war:1.0-SNAPSHOT: Could not find artifact org.openqa.selenium.server:selenium-server:jar:0.9.2in central (http://repo1.maven.org/maven2) -> [Help 1] 

それを見つけるために追加しますか?

おかげで、 - デイブ

+0

0.9.2 ?! [Current is 2.17](http://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-server/2.17.0)。また、[maven-selenium dependencies](http://mvnrepository.com/artifact/org.codehaus.mojo/selenium-maven-plugin/2.2)を参照してください。 –

+0

いいえ、[2.18.0](http://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-server/2.18.0/)です;-) –

答えて

1

それは、任意のMavenのリポジトリから利用できません。

ダウンロードして(http://release.seleniumhq.org/selenium-remote-control/0.9.2/)、手動でローカルリポジトリ(http://maven.apache.org/plugins/maven-install-plugin/examples/specific-local-repo.html)に追加する必要があります。

+0

[現在のバージョンは] http ://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-rc/1.0.2)。 –

+0

現在のものではなく、より若いもの;-)最新のものはこちら[http://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-server/2.18.0/] 。 –

+0

...いずれにしても、0.9.2とは大きく異なり、セレン-rcではなく、OPが尋ねた依存関係です。 –

関連する問題