test-verify目标不适用于maven-soapui-extension-plugin

时间:2016-05-03 20:15:01

标签: maven soapui

当我尝试运行SoapUI Projects

时,我看到以下错误

无法执行目标com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:4.6.4.2:test-verify(test-verify)项目TestProjects:SoapUI测试失败:查看日志和/或检查printReport(如有必要,将选项设置为true) - > [帮助1]

Child Pom文件:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
    <groupId>Tutor</groupId>
    <artifactId>TutorOnTest</artifactId>
    <version>1.3</version>
    <relativePath>..</relativePath>
</parent>
<artifactId>TestProjects</artifactId>
<name>TestProjects</name>
<pluginRepositories>
    <pluginRepository>
        <id>smartbear-sweden-plugin-repository</id>
        <url>http://www.soapui.org/repository/maven2/</url>
    </pluginRepository>
</pluginRepositories>
<build>
    <plugins>
        <plugin>
            <groupId>com.github.redfish4ktc.soapui</groupId>
            <artifactId>maven-soapui-extension-plugin</artifactId>
            <version>4.6.4.2</version>
             <dependencies>
                <dependency>
                    <groupId>ojdbc</groupId>
                    <artifactId>ojdbc6</artifactId>
                    <version>11.1.0</version>
                </dependency>
            </dependencies>
            <executions>
                <execution>
                    <id>run-Tests</id>
                    <phase>integration-test</phase>
                    <goals>
                      <goal>test</goal>
                    </goals>
                    <configuration>
                        <projectFiles>
                            <scan>
                                <baseDirectory>${basedir}</baseDirectory>
                                <includes>
                                  <include>**/*-soapui-project.xml</include>
                                </includes>
                            </scan>
                        </projectFiles>
                        <projectProperties>
                            <value>url=http://localhost:8080</value>
                        </projectProperties>
                          <useOutputFolderPerProject>true</useOutputFolderPerProject>
                        <testFailIgnore>true</testFailIgnore>
                    </configuration>
                </execution>
                <execution>
                    <id>test-verify</id>
                    <phase>post-integration-test</phase>
                    <goals>
                      <goal>test-verify</goal>
                    </goals>
                    <configuration>
                        <printReport>true</printReport>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

0 个答案:

没有答案