-
Notifications
You must be signed in to change notification settings - Fork 37
/
pom.xml
148 lines (127 loc) · 4.46 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.frameworkium</groupId>
<artifactId>frameworkium-examples</artifactId>
<!--
This version tag is for this specific project.
To change the version of frameworkium-core, see dependencies section below.
-->
<version>3</version>
<name>Frameworkium Examples</name>
<description>
A template designed to get up and running quickly with Selenium and Appium.
</description>
<url/>
<inceptionYear/>
<organization/>
<licenses/>
<developers/>
<contributors/>
<modules/>
<scm/>
<issueManagement/>
<ciManagement/>
<distributionManagement/>
<properties>
<!-- Default thread count and groups to run -->
<threads>1</threads>
<groups/>
<!-- Versions from frameworkium-core -->
<aspectj.version>1.9.6</aspectj.version>
<allure.version>2.12.1</allure.version>
<!-- Prevent encoding issues -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<!-- Makes mvn versions:display-plugin-updates faster -->
<prerequisites>
<maven>3.3.9</maven>
</prerequisites>
<dependencies>
<dependency>
<groupId>com.github.frameworkium</groupId>
<artifactId>frameworkium-core</artifactId>
<version>3.0.1</version>
</dependency>
<!-- Your own dependencies here -->
<!-- Used in CreateScreenshot -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.8.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Compile all the lovely Java code -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<!-- Run all of your lovely tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<!-- See here for how TestNG uses these:
http://testng.org/doc/documentation-main.html#parallel-tests -->
<parallel>methods</parallel>
<threadCount>${threads}</threadCount>
<systemPropertyVariables>
<!-- For Frameworkium screenshots on test failure -->
<screenshotDirectory>
${project.build.directory}/screenshots
</screenshotDirectory>
<!-- Required for writing the allure results -->
<allure.results.directory>
${project.build.directory}/allure-results
</allure.results.directory>
</systemPropertyVariables>
<!-- This will only run Classes ending in Test or Tests-->
<includes>
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
</includes>
<!-- TestNG Groups to run, can be specified on the command line -->
<groups>${groups}</groups>
<!-- Required for AspectJ to work to enable Allure reporting -->
<argLine>
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
</argLine>
<failIfNoTests>true</failIfNoTests>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- Allure 2 reporting. Use mvn allure:report to generate the report -->
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.10.0</version>
<configuration>
<!-- Keep version in sync with dependencies -->
<reportVersion>${allure.version}</reportVersion>
</configuration>
</plugin>
</plugins>
</build>
</project>