Advertisement
mess9

Untitled

Nov 10th, 2021
1,053
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.52 KB | None | 0 0
  1.     <build>
  2.         <plugins>
  3.  
  4.             <plugin>
  5.                 <groupId>org.apache.maven.plugins</groupId>
  6.                 <artifactId>maven-compiler-plugin</artifactId>
  7.                 <version>${maven-compiler-plugin.version}</version>
  8.                 <configuration>
  9.                     <source>${java.version}</source>
  10.                     <target>${java.version}</target>
  11.                     <encoding>${project.build.sourceEncoding}</encoding>
  12.                 </configuration>
  13.             </plugin>
  14.             <plugin>
  15.                 <groupId>org.apache.maven.plugins</groupId>
  16.                 <artifactId>maven-surefire-plugin</artifactId>
  17.                 <version>${maven-surefire-plugin.version}</version>
  18.                 <configuration>
  19.                     <forkCount>10</forkCount>
  20.                     <reuseForks>false</reuseForks>
  21.                     <!--testFailureIgnore>false</testFailureIgnore-->
  22.                     <!--<testFailureIgnore>true</testFailureIgnore>-->
  23.                     <shutdown>kill</shutdown> <!-- Use it if required-->
  24.                     <encoding>${project.build.sourceEncoding}</encoding>
  25.                     <argLine>
  26. <!--                        -Xmx1024m-->
  27.                         -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  28.                     </argLine>
  29.                     <systemPropertyVariables>
  30.                         <allure.results.directory>${project.build.directory}/allure-results</allure.results.directory>
  31.                     </systemPropertyVariables>
  32.                 </configuration>
  33.                 <dependencies>
  34.                     <dependency>
  35.                         <groupId>org.aspectj</groupId>
  36.                         <artifactId>aspectjweaver</artifactId>
  37.                         <version>${aspectj.version}</version>
  38.                     </dependency>
  39.                 </dependencies>
  40.             </plugin>
  41.  
  42.             <plugin>
  43.                 <groupId>io.qameta.allure</groupId>
  44.                 <artifactId>allure-maven</artifactId>
  45.                 <version>2.10.0</version>
  46.                 <configuration>
  47.                     <reportVersion>${allure.version}</reportVersion>
  48.                     <allureDownloadUrl>
  49.                         https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/%s/allure-commandline-%s.zip
  50.                     </allureDownloadUrl>
  51.                 </configuration>
  52.             </plugin>
  53.  
  54.         </plugins>
  55.     </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement