【问题标题】:Latest ExtentReports maven dependency for selenium硒的最新 ExtentReports maven 依赖项
【发布时间】:2017-05-11 14:48:44
【问题描述】:

我已经在我的 POM 文件中添加了这个。

<dependency>
    <groupId>com.aventstack</groupId>
    <artifactId>extentreports</artifactId>
    <version>3.0.5</version>
</dependency>

它不适用于我的项目。

【问题讨论】:

    标签: selenium cucumber report extent


    【解决方案1】:

    尝试在 pom.xml 中更改此字符串:

    <properties>
        <selenium.version>3.0.5</selenium.version>
    </properties>
    
    <dependencies>
        <dependency>
            <groupId>com.aventstack</groupId>
            <artifactId>selenium-java</artifactId>
            <version>${selenium.version}</version>
        </dependency>
    </dependencies>
    

    您的字符串 &lt;artifactId&gt;extentreports&lt;/artifactId&gt; 可能应该在另一个块中更早地写入 - 它不是依赖项,它是您的项目的名称。

    【讨论】:

      猜你喜欢
      • 2012-12-22
      • 2012-09-30
      • 2014-10-13
      • 2019-12-20
      • 2014-02-19
      • 1970-01-01
      • 2017-04-21
      • 1970-01-01
      • 2010-11-01
      相关资源
      最近更新 更多