-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
207 lines (200 loc) · 7.59 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<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.github.kathyrollo</groupId>
<artifactId>jcucumberng-framework</artifactId>
<version>4.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>jCucumberNG-Framework</name>
<description>A test framework using Selenium, Cucumber, and ngWebDriver (Protractor) in Java.</description>
<url>https://github.com/kathyrollo/jcucumberng-framework</url>
<properties>
<!-- Project -->
<app.name>Simply Do - Balance Projector</app.name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java>1.8</java>
<!-- Maven -->
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
<!-- Dependencies -->
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-server -->
<selenium>3.141.59</selenium>
<!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
<webdrivermanager>3.6.1</webdrivermanager>
<!-- https://mvnrepository.com/artifact/com.paulhammant/ngwebdriver -->
<ngwebdriver>1.1.4</ngwebdriver>
<!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-java -->
<cucumber>4.2.0</cucumber>
<!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
<assertj>3.12.2</assertj>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j-impl -->
<slf4j>2.11.2</slf4j>
<!-- https://mvnrepository.com/artifact/com.aventstack/extentreports-cucumber4-adapter -->
<extentreports>1.0.5</extentreports>
<!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-cucumber4-jvm -->
<allure.cucumber>2.12.1</allure.cucumber>
<!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
<itextpdf>5.5.13.1</itextpdf>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<poi>4.1.0</poi>
<!-- https://mvnrepository.com/artifact/com.codoid.products/fillo -->
<fillo>1.21</fillo>
<!-- Plugins -->
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<mvn.compiler>3.8.1</mvn.compiler>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-site-plugin -->
<mvn.site>3.7.1</mvn.site>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-project-info-reports-plugin -->
<mvn.info>3.0.0</mvn.info>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
<mvn.surefire>3.0.0-M3</mvn.surefire>
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
<aspectj>1.9.4</aspectj>
<!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-maven -->
<allure.mvn>2.10.0</allure.mvn>
<!-- https://mvnrepository.com/artifact/net.masterthought/maven-cucumber-reporting -->
<masterthought>4.7.0</masterthought>
</properties>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>${selenium}</version>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>${webdrivermanager}</version>
</dependency>
<dependency>
<groupId>com.paulhammant</groupId>
<artifactId>ngwebdriver</artifactId>
<version>${ngwebdriver}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-testng</artifactId>
<version>${cucumber}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-picocontainer</artifactId>
<version>${cucumber}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${slf4j}</version>
</dependency>
<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports-cucumber4-adapter</artifactId>
<version>${extentreports}</version>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-cucumber4-jvm</artifactId>
<version>${allure.cucumber}</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>${itextpdf}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${poi}</version>
</dependency>
<dependency>
<groupId>com.codoid.products</groupId>
<artifactId>fillo</artifactId>
<version>${fillo}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${mvn.compiler}</version>
<configuration>
<source>${java}</source>
<target>${java}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${mvn.site}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${mvn.info}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${mvn.surefire}</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<includes>
<include>**/RunCukesTest.java</include>
</includes>
<argLine>
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj}/aspectjweaver-${aspectj}.jar"
</argLine>
<reportsDirectory>${project.build.directory}/test-output/${timestamp}</reportsDirectory>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.10.0</version>
<configuration>
<reportVersion>${allure.cucumber}</reportVersion>
<allureDownloadUrl>https://dl.bintray.com/qameta/maven/io/qameta/allure/allure-commandline/${allure.cucumber}/allure-commandline-${allure.cucumber}.zip</allureDownloadUrl>
</configuration>
</plugin>
<plugin>
<groupId>net.masterthought</groupId>
<artifactId>maven-cucumber-reporting</artifactId>
<version>${masterthought}</version>
<executions>
<execution>
<id>execution</id>
<phase>verify</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<projectName>${app.name}</projectName>
<outputDirectory>${project.build.directory}</outputDirectory>
<jsonFiles>
<param>**/cucumber-report.json</param>
</jsonFiles>
<classificationFiles>
<param>**/classifications/*.properties</param>
</classificationFiles>
<parallelTesting>false</parallelTesting>
<!-- Optional, set true to fail build on test failures -->
<checkBuildResult>false</checkBuildResult>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>