|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
2 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 |
|
5 | 5 | <groupId>com.browserstack</groupId> |
|
18 | 18 | <surefire.version>2.19.1</surefire.version> |
19 | 19 | <selenium.version>4.1.4</selenium.version> |
20 | 20 | <json-simple.version>1.1.1</json-simple.version> |
| 21 | + <surefire.plugin.version>3.0.0-M5</surefire.plugin.version> |
21 | 22 | <config.file>config/sample-local-test.testng.xml</config.file> |
22 | 23 | </properties> |
23 | 24 |
|
|
32 | 33 | <artifactId>selenium-java</artifactId> |
33 | 34 | <version>${selenium.version}</version> |
34 | 35 | </dependency> |
35 | | - <dependency> |
36 | | - <groupId>com.browserstack</groupId> |
37 | | - <artifactId>browserstack-java-sdk</artifactId> |
38 | | - <version>LATEST</version> |
39 | | - <scope>compile</scope> |
40 | | - </dependency> |
41 | 36 | </dependencies> |
42 | 37 |
|
43 | 38 | <build> |
|
57 | 52 | <groupId>org.apache.maven.plugins</groupId> |
58 | 53 | <artifactId>maven-surefire-plugin</artifactId> |
59 | 54 | <version>${surefire.version}</version> |
60 | | - <configuration> |
61 | | - <suiteXmlFiles> |
62 | | - <suiteXmlFile>${config.file}</suiteXmlFile> |
63 | | - </suiteXmlFiles> |
64 | | - <argLine> |
65 | | - -javaagent:${com.browserstack:browserstack-java-sdk:jar} |
66 | | - </argLine> |
67 | | - </configuration> |
| 55 | + |
68 | 56 | </plugin> |
69 | 57 | <plugin> |
70 | 58 | <groupId>org.apache.maven.plugins</groupId> |
|
89 | 77 | <suiteXmlFiles> |
90 | 78 | <suiteXmlFile>config/sample-local-test.testng.xml</suiteXmlFile> |
91 | 79 | </suiteXmlFiles> |
92 | | - <argLine> |
93 | | - -javaagent:${com.browserstack:browserstack-java-sdk:jar} |
94 | | - </argLine> |
95 | 80 | </configuration> |
96 | 81 | </plugin> |
97 | 82 | </plugins> |
|
109 | 94 | <suiteXmlFiles> |
110 | 95 | <suiteXmlFile>config/sample-test.testng.xml</suiteXmlFile> |
111 | 96 | </suiteXmlFiles> |
112 | | - <argLine> |
113 | | - -javaagent:${com.browserstack:browserstack-java-sdk:jar} |
114 | | - </argLine> |
| 97 | + |
115 | 98 | </configuration> |
116 | 99 | </plugin> |
117 | 100 | </plugins> |
|
0 commit comments