Advertisement
cinnamonandrew

Untitled

Apr 19th, 2021
1,407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.60 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <groupId>SerenityWithJUnit</groupId>
  6.     <artifactId>SerenityWithJUnitPrj</artifactId>
  7.     <version>1.0-SNAPSHOT</version>
  8.     <packaging>jar</packaging>
  9.     <name>Serenity project with JUnit and WebDriver</name>
  10.     <properties>
  11.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12.         <serenity.version>1.2.2-rc.1</serenity.version>
  13.         <webdriver.driver>chrome</webdriver.driver>
  14.     </properties>
  15.     <repositories>
  16.       <repository>
  17.         <snapshots>
  18.         <enabled>false</enabled>
  19.         </snapshots>
  20.         <id>central</id>
  21.         <name>bintray</name>
  22.         <url>http://jcenter.bintray.com</url>
  23.       </repository>
  24.     </repositories>
  25.     <pluginRepositories>
  26.       <pluginRepository>
  27.         <snapshots>
  28.         <enabled>false</enabled>
  29.         </snapshots>
  30.         <id>central</id>
  31.         <name>bintray-plugins</name>
  32.         <url>http://jcenter.bintray.com</url>
  33.       </pluginRepository>
  34.     </pluginRepositories>
  35.     <dependencies>
  36.         <dependency>
  37.             <groupId>net.serenity-bdd</groupId>
  38.             <artifactId>serenity-core</artifactId>
  39.             <version>${serenity.version}</version>
  40.         </dependency>
  41.         <dependency>
  42.             <groupId>org.slf4j</groupId>
  43.             <artifactId>slf4j-simple</artifactId>
  44.             <version>1.7.7</version>
  45.         </dependency>
  46.         <dependency>
  47.             <groupId>net.serenity-bdd</groupId>
  48.             <artifactId>serenity-junit</artifactId>
  49.             <version>${serenity.version}</version>
  50.             <scope>test</scope>
  51.         </dependency>
  52.         <dependency>
  53.             <groupId>junit</groupId>
  54.             <artifactId>junit</artifactId>
  55.             <version>4.12</version>
  56.             <scope>test</scope>
  57.         </dependency>
  58.         <dependency>
  59.             <groupId>org.assertj</groupId>
  60.             <artifactId>assertj-core</artifactId>
  61.             <version>1.7.0</version>
  62.         </dependency>
  63.     </dependencies>
  64.     <build>
  65.         <plugins>
  66.             <plugin>
  67.                 <groupId>org.apache.maven.plugins</groupId>
  68.                 <artifactId>maven-surefire-plugin</artifactId>
  69.                 <version>2.18.1</version>
  70.                 <configuration>
  71.                     <skip>true</skip>
  72.                 </configuration>
  73.             </plugin>
  74.             <plugin>
  75.                 <artifactId>maven-failsafe-plugin</artifactId>
  76.                 <version>2.18.1</version>
  77.                 <configuration>
  78.                     <includes>
  79.                         <include>**/*Test.java</include>
  80.                         <include>**/Test*.java</include>
  81.                         <include>**/When*.java</include>
  82.                         <include>**/*Story.java</include>
  83.                     </includes>
  84.                     <argLine>-Xmx512m</argLine>
  85.                     <systemPropertyVariables>
  86.                         <webdriver.driver>${webdriver.driver}</webdriver.driver>
  87.                     </systemPropertyVariables>
  88.                 </configuration>
  89.                 <executions>
  90.                     <execution>
  91.                         <goals>
  92.                             <goal>integration-test</goal>
  93.                             <goal>verify</goal>
  94.                         </goals>
  95.                     </execution>
  96.                 </executions>
  97.             </plugin>
  98.             <plugin>
  99.                 <groupId>org.apache.maven.plugins</groupId>
  100.                 <artifactId>maven-compiler-plugin</artifactId>
  101.                 <version>3.2</version>
  102.                 <configuration>
  103.                     <source>1.7</source>
  104.                     <target>1.7</target>
  105.                 </configuration>
  106.             </plugin>
  107.             <plugin>
  108.                 <groupId>net.serenity-bdd.maven.plugins</groupId>
  109.                 <artifactId>serenity-maven-plugin</artifactId>
  110.                 <version>${serenity.version}</version>
  111.                 <executions>
  112.                     <execution>
  113.                         <id>serenity-reports</id>
  114.                         <phase>post-integration-test</phase>
  115.                         <goals>
  116.                             <goal>aggregate</goal>
  117.                         </goals>
  118.                     </execution>
  119.                 </executions>
  120.             </plugin>
  121.         </plugins>
  122.     </build>
  123. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement