Skip to content

Commit f0ac013

Browse files
Refactor pom.xml to use property versions
1 parent 5eae9d2 commit f0ac013

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

pom.xml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
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">
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">
35
<modelVersion>4.0.0</modelVersion>
46

57
<groupId>com.browserstack</groupId>
@@ -10,26 +12,30 @@
1012
<maven.compiler.source>1.8</maven.compiler.source>
1113
<maven.compiler.target>1.8</maven.compiler.target>
1214
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
16+
<selenium.version>4.1.4</selenium.version>
17+
<testng.version>7.4.0</testng.version>
18+
<browserstack.sdk.version>1.1.23</browserstack.sdk.version>
1319
</properties>
1420

1521
<dependencies>
1622
<dependency>
1723
<groupId>org.seleniumhq.selenium</groupId>
1824
<artifactId>selenium-java</artifactId>
19-
<version>4.22.0</version>
25+
<version>${selenium.version}</version>
2026
</dependency>
2127

2228
<dependency>
2329
<groupId>org.testng</groupId>
2430
<artifactId>testng</artifactId>
25-
<version>7.10.2</version>
31+
<version>${testng.version}</version>
2632
<scope>test</scope>
2733
</dependency>
2834

2935
<dependency>
3036
<groupId>com.browserstack</groupId>
3137
<artifactId>browserstack-java-sdk</artifactId>
32-
<version>LATEST</version>
38+
<version>${browserstack.sdk.version}</version>
3339
<scope>compile</scope>
3440
</dependency>
3541
</dependencies>
@@ -39,7 +45,7 @@
3945
<plugin>
4046
<groupId>org.apache.maven.plugins</groupId>
4147
<artifactId>maven-compiler-plugin</artifactId>
42-
<version>3.8.1</version>
48+
<version>3.8.1</version>
4349
<configuration>
4450
<source>1.8</source>
4551
<target>1.8</target>

0 commit comments

Comments
 (0)