-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
100 lines (86 loc) · 3.87 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
<?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>org.example</groupId>
<artifactId>Piton-Java-Cucumber-Jenkins</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>1.8
</maven.compiler.source> <!-- Java 1.8 verisiyonu kullanıyorum bu yüzden stabil çalışabilmesi için 1.8 Maven versiyonunu tercih ettim-->
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<argLine>-Duser.language=en
</argLine> <!-- Server language ve local language sorunlarını engellemek için maven language ayarını ingilizce yaptım -->
</properties>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId> <!-- Selenium WebDriver repository eklentisi -->
<artifactId>selenium-java</artifactId>
<version>4.5.0</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId> <!-- Cucumber repository eklentisi -->
<artifactId>cucumber-java</artifactId>
<version>7.9.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId> <!-- TestNG repository eklentisi -->
<artifactId>testng</artifactId>
<version>6.8.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId> <!-- Cucumber - TestNG bağlantı repository eklentisi -->
<artifactId>cucumber-testng</artifactId>
<version>7.9.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.bonigarcia
</groupId> <!-- Selenium WebDriver için otomatikleştirilmiş sürücü yönetimi repository eklentisi -->
<artifactId>webdrivermanager</artifactId>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId> <!-- Java-Api için basit günlük kaydetme repository eklentisi -->
<artifactId>slf4j-api</artifactId>
<version>1.8.0-beta2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId> <!-- Java-Simple için basit günlük kaydetme repository eklentisi -->
<artifactId>slf4j-simple</artifactId>
<version>1.8.0-beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>tech.grasshopper</groupId> <!-- Extent Reports repository eklentisi -->
<artifactId>extentreports-cucumber7-adapter</artifactId>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy
</groupId> <!-- JVM dinamik dil repository eklentisi (Language hatalarını önlemek için)-->
<artifactId>groovy</artifactId>
<version>3.0.13</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins
</groupId> <!-- Jenkins ile projeyi çalıştırmak için repository eklentisi -->
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<includes>
<include>**/TestRunnerExtentReport.java</include>
</includes>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
</project>