SoapUI-PRO与诱惑报告 - Maven构建抛出错误 - 找不到神器ru.yandex.qatools.allure

时间:2015-08-11 03:02:04

标签: maven soapui allure

我正在使用maven构建项目来执行Soapui-Pro测试。我试图看看Allure是否可用于生成报告。但它会引发错误。请让我知道似乎是什么问题。

  

错误"无法找到神器ru.yandex.qatools.allure"

我的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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.smartbear.soapuiMavenTutorial</groupId>
    <artifactId>SoapUI-Maven-Tutorial</artifactId>
    <packaging>pom</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>SoapUI-Maven-Tutorial</name>
    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <aspectj.version>1.8.6</aspectj.version>
        <allure.version>1.4.14</allure.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>ru.yandex.qatools.allure</groupId> 
            <artifactId>allure-maven-plugin</artifactId> 
              <version>2.3-SNAPSHOT</version> 
        </dependency>

    </dependencies>

    <modules>
        <module>PRO-MAY-ER-TestSuite</module>
        <module>ErrorCodes-TestSuite</module>
    </modules>
    <pluginRepositories>
        <pluginRepository>
            <id>SmartBearPluginRepository</id>
            <url>http://www.soapui.org/repository/maven2/</url>
        </pluginRepository>
    </pluginRepositories>
    <build>
        <plugins>
            <plugin>
                <dependencies>
                    <dependency>
                        <groupId>com.oracle</groupId>
                        <artifactId>ojdbc14</artifactId>
                        <version>10.2.0</version>
                        <scope>runtime</scope>
                        <!--systemPath>C:\maven\ojdbc6.jar</systemPath-->
                    </dependency>
                </dependencies>
                <groupId>com.smartbear</groupId>
                <artifactId>ready-api-maven-plugin</artifactId>
                <version>1.3.0</version>
            </plugin>
        </plugins>
    </build>

</project>

1 个答案:

答案 0 :(得分:0)

Maven central上不存在array版本。从该列表中选择另一个版本;版本2.2似乎是最新的。

或者,如果您需要快照版本,则需要指定具有该版本的存储库;或许here