Maven3 で SOAP UI を自動化しようとしています。「ダウンロードできません」という問題が発生しています。以下はコンソールのエラーです。
[エラー] リポジトリ [ローカル (/home/krishna/.m2/repository)、eviwarePluginRepository ( http://www.eviware.com/ repository/maven2/ ), central (http://repo.maven.apache.org/maven2)]: どのプラグインリポジトリにもプラグインが見つかりません -> [Help 1] [ERROR] [ERROR] To see the full stack trace ofエラーが表示されたら、-e スイッチを使用して Maven を再実行します。[エラー] -X スイッチを使用して Maven を再実行し、完全なデバッグ ログを有効にします。[エラー] [エラー] エラーと考えられる解決策の詳細については、次の記事をお読みください: [エラー] [ヘルプ 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException "
それを実行するには、次を追加します
1) eviware と jetty のプラグインを追加しました。 2) プラグイン リポジトリ eviware リポジトリを追加しました。
以下は、上記の2つのpomyです。
何か不足している場合はお知らせください。
org.mortbay.jetty
<artifactId>jetty-maven-plugin</artifactId>
<version>6.1.20</version>
<configuration>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>8080</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
<contextPath>/xyz-${project.version}</contextPath>
<webApp>target/xyz-${project.version}.war</webApp>
<stopKey>foo</stopKey>
<stopPort>9999</stopPort>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>3.0</version>
<configuration>
<projectFile>${basedir}/src/main/resources/soapui/project.xml</projectFile>
<printReport>true</printReport>
</configuration>
<executions>
<execution>
<id>soap-integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>