-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
127 lines (118 loc) · 4.6 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
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-browserstack</artifactId>
<version>1.0.0</version>
<name>Browserstack template</name>
<properties>
<driver>chrome</driver>
<remote.type>browserstack</remote.type>
<domain>https://jdi-testing.github.io/jdi-light/</domain>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<USERNAME>kirillpoltorykhi_D3ILCJ</USERNAME>
<ACCESS_KEY>KJpfnFzGy7rM64zpmueU</ACCESS_KEY>
<aspectj.args></aspectj.args>
<aspectj.version>1.9.20</aspectj.version>
<allure.testng>2.23.0</allure.testng>
<allure.maven>2.12.0</allure.maven>
<jetty.version>9.4.12.RC2</jetty.version>
</properties>
<profiles>
<profile>
<id>ci</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<remote.type>selenoid</remote.type>
</properties>
</profile>
<profile>
<id>jdk16</id>
<activation>
<jdk>[16, 20]</jdk>
</activation>
<properties>
<aspectj.args>--add-opens java.base/java.lang=ALL-UNNAMED</aspectj.args>
</properties>
</profile>
</profiles>
<dependencies>
<!--JDI-->
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>LATEST</version>
</dependency>
<!--Allure-->
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-testng</artifactId>
<version>${allure.testng}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<!--Allure reporting config in parent-->
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
<systemPropertyVariables>
<allure.results.directory>${project.build.directory}/allure-results</allure.results.directory>
</systemPropertyVariables>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/general.xml</suiteXmlFile>
</suiteXmlFiles>
<argLine>
${aspectj.args}
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
</argLine>
<environmentVariables>
<USERNAME>${USERNAME}</USERNAME>
<ACCESS_KEY>${ACCESS_KEY}</ACCESS_KEY>
</environmentVariables>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>${allure.maven}</version>
</plugin>
</plugins>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>