魅力第一步 - 失败 POM.XML

Allure First Steps - Failing POM.XML

尝试使用 Allure 框架 - 但遇到一些问题。

我正在使用 Maven、Junit 和 Eclipse。创建了一个非常简单的测试用例并确认了所有这些工作。所以下一步是添加 Allure。现在看来,当我添加 allure 依赖项时,一切都出错了(所有后续依赖项都失败了,并且工作的 POM 现在有 50 多个错误。)

如果我删除以下内容,那么我可以启动 mvn clean test 并且我的测试用例运行(Eclipse 也意识到有问题并给我一个错误)

我认为它一定是非常明显的东西,但我一直盯着它看太久了,我看不到它。

不确定如何附加 POM,但我认为错误出在这些部分。

 <properties>
   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   <compiler.version>1.7</compiler.version>
   <aspectj.version>1.7.4</aspectj.version>
   <allure.version>{latest-allure-version}</allure.version>    
 </properties>

  <dependency>
    <groupId>ru.yandex.qatools.allure</groupId>
    <artifactId>allure-junit-adaptor</artifactId>
    <version>${allure.version}</version>
  </dependency>

  <dependency>
    <groupId>com.github.detro.ghostdriver</groupId>
    <artifactId>phantomjsdriver</artifactId>
    <version>1.0.4</version>
  </dependency>

已排序 - 似乎我在添加 Selenium 时遇到了依赖性问题。