1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <groupId >org.example</groupId >
8
+ <artifactId >selenium-tutorial</artifactId >
9
+ <version >1.0-SNAPSHOT</version >
10
+
11
+ <dependencies >
12
+ <dependency >
13
+ <groupId >org.seleniumhq.selenium</groupId >
14
+ <artifactId >selenium-java</artifactId >
15
+ <version >3.141.59</version >
16
+ </dependency >
17
+ <dependency >
18
+ <groupId >org.testng</groupId >
19
+ <artifactId >testng</artifactId >
20
+ <version >7.1.0</version >
21
+ </dependency >
22
+ <dependency >
23
+ <groupId >com.relevantcodes</groupId >
24
+ <artifactId >extentreports</artifactId >
25
+ <version >2.41.2</version >
26
+ </dependency >
27
+ <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
28
+ <dependency >
29
+ <groupId >commons-io</groupId >
30
+ <artifactId >commons-io</artifactId >
31
+ <version >2.6</version >
32
+ </dependency >
33
+ <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
34
+ <dependency >
35
+ <groupId >commons-codec</groupId >
36
+ <artifactId >commons-codec</artifactId >
37
+ <version >1.9</version >
38
+ </dependency >
39
+
40
+ </dependencies >
41
+
42
+ <build >
43
+ <plugins >
44
+ <plugin >
45
+ <groupId >org.apache.maven.plugins</groupId >
46
+ <artifactId >maven-surefire-plugin</artifactId >
47
+ <version >2.21.0</version >
48
+ <configuration >
49
+ <suiteXmlFiles >
50
+ <suiteXmlFile >src/test/testng-suite.xml</suiteXmlFile >
51
+ </suiteXmlFiles >
52
+ <properties >
53
+ <!-- suppress UnresolvedMavenProperty -->
54
+ <env-host >${env-host} </env-host >
55
+ </properties >
56
+ </configuration >
57
+ </plugin >
58
+ </plugins >
59
+
60
+ </build >
61
+ <profiles >
62
+ <profile >
63
+ <id >local</id >
64
+ <build >
65
+ <plugins >
66
+ <plugin >
67
+ <groupId >org.apache.maven.plugins</groupId >
68
+ <artifactId >maven-surefire-plugin</artifactId >
69
+ <version >2.21.0</version >
70
+ <configuration >
71
+ <suiteXmlFiles >
72
+ <suiteXmlFile >testng.xml</suiteXmlFile >
73
+ </suiteXmlFiles >
74
+ <properties >
75
+ <!-- suppress UnresolvedMavenProperty -->
76
+ <env-host >https://onlyfullstack-e1.com</env-host >
77
+ <env-db-url >https://onlyfullstack-e1.com</env-db-url >
78
+ <env-db-username >onlyfullstack</env-db-username >
79
+ <env-db-password >dbpassword</env-db-password >
80
+ </properties >
81
+ </configuration >
82
+ </plugin >
83
+ </plugins >
84
+ </build >
85
+ </profile >
86
+ <profile >
87
+ <id >E1</id >
88
+ <build >
89
+ <plugins >
90
+ <plugin >
91
+ <groupId >org.apache.maven.plugins</groupId >
92
+ <artifactId >maven-surefire-plugin</artifactId >
93
+ <version >2.21.0</version >
94
+ <configuration >
95
+ <suiteXmlFiles >
96
+ <suiteXmlFile >testng.xml</suiteXmlFile >
97
+ </suiteXmlFiles >
98
+ <properties >
99
+ <!-- suppress UnresolvedMavenProperty -->
100
+ <env-host >https://onlyfullstack-e1.com</env-host >
101
+ <env-db-url >https://onlyfullstack-e1.com</env-db-url >
102
+ <env-db-username >onlyfullstack</env-db-username >
103
+ <env-db-password >dbpassword</env-db-password >
104
+ </properties >
105
+ </configuration >
106
+ </plugin >
107
+ </plugins >
108
+ </build >
109
+ </profile >
110
+ <profile >
111
+ <id >E2</id >
112
+ <build >
113
+ <plugins >
114
+ <plugin >
115
+ <groupId >org.apache.maven.plugins</groupId >
116
+ <artifactId >maven-surefire-plugin</artifactId >
117
+ <version >2.21.0</version >
118
+ <configuration >
119
+ <suiteXmlFiles >
120
+ <suiteXmlFile >testng.xml</suiteXmlFile >
121
+ </suiteXmlFiles >
122
+ <properties >
123
+ <!-- suppress UnresolvedMavenProperty -->
124
+ <env-host >https://onlyfullstack-e1.com</env-host >
125
+ <env-db-url >https://onlyfullstack-e1.com</env-db-url >
126
+ <env-db-username >onlyfullstack</env-db-username >
127
+ <env-db-password >dbpassword</env-db-password >
128
+ </properties >
129
+ </configuration >
130
+ </plugin >
131
+ </plugins >
132
+ </build >
133
+ </profile >
134
+ </profiles >
135
+ </project >
0 commit comments