2013-02-22 79 views
2

我试着与自动化。我Maven3的SOAP UI我得到的问题说:“不能下载”自动化测试SOAP是。下面在控制台中的错误..与Maven和soapUI的插件

[错误]错误从版本库[local(/home/krishna/.m2/repository),eviwarePluginRepository(http://www.eviware.com/repository/maven2/),central(http://repo.maven.apache)解析插件'org.mortbay.jetty:jetty-maven-plugin' .org/maven2)]:在任何插件库中找不到插件 - > [Help 1] [ERROR] [错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。 [错误]使用-X开关重新运行Maven以启用完整的调试日志记录。 [错误] [错误]有关错误和可能的解决办法,请您仔细阅读以下文章了解更多信息: [错误] [说明1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

要执行它,我已经加入以下

1)增加了对Eviware那样和码头 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> 
+0

其issue.Not能够连接到代理的代理。 – Krish 2013-02-25 09:36:32

回答

1

尝试添加在你的settings.xml以下(.m2目录/):

<proxies> 
    <proxy> 
    <id>myproxy</id> 
    <active>true</active> 
    <protocol>http</protocol> 
    <host>172.18.65.22</host> 
    <port>80</port> 
    </proxy> 
</proxies>