-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
140 lines (130 loc) · 6.69 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
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
<parent>
<groupId>org.ndviet</groupId>
<artifactId>test-parent-pom</artifactId>
<version>${revision}</version>
<relativePath>../test-parent-pom/pom.xml</relativePath>
</parent>
<artifactId>test-testng-framework</artifactId>
<name>TestNG Framework Test Repository</name>
<version>${revision}</version>
<description>Test repository with test case is created and executed in TestNG Framework.</description>
<url>https://${github.url}/${github.organization}/${github.repository}/tree/${github.branch}</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>${github.id}</id>
<name>${github.name}</name>
<email>${github.email}</email>
<roles>
<role>maintainer</role>
<role>developer</role>
</roles>
</developer>
</developers>
<scm>
<connection>scm:git:git@${github.url}:${github.organization}/${github.repository}.git</connection>
<developerConnection>scm:git:ssh://git@${github.url}:${github.organization}/${github.repository}.git
</developerConnection>
<url>https://${github.url}/${github.organization}/${github.repository}/tree/${github.branch}</url>
</scm>
<properties>
<github.repository>test-testng-framework</github.repository>
<skipTests>true</skipTests>
<includes>EasyUpload_io.xml</includes>
<!--suppress UnresolvedMavenProperty - Property 'custom.timestamp' is created when initializing-->
<outputDirectory>${project.build.directory}/reports/${custom.timestamp}</outputDirectory>
<selenium.screenshot.directory>${outputDirectory}/Screenshots</selenium.screenshot.directory>
<!-- Properties for Test Configuration files (precedence level: system props -> ordering<N> -> base) -->
<configuration.directory>${project.basedir}/src/test/resources/configuration</configuration.directory>
<configuration.base>${configuration.directory}/baseConfiguration.yaml</configuration.base>
<configuration.ordering1>${configuration.directory}/seleniumConfiguration.yaml</configuration.ordering1>
<configuration.ordering2>${configuration.directory}/input_java_opts.properties</configuration.ordering2>
<testObjectRepository.directory>${project.basedir}/src/test/resources/Object_Repository
</testObjectRepository.directory>
<webElementIdentifiers.directory>${testObjectRepository.directory}/Web_Identifiers
</webElementIdentifiers.directory>
<testData.directory>${testObjectRepository.directory}/Test_Data</testData.directory>
<log4j2.configurationFile>file:///${basedir}/src/test/resources/log4j2.properties</log4j2.configurationFile>
<log4j2.path>${outputDirectory}</log4j2.path>
<applicationContextPath>spring/application-context.xml</applicationContextPath>
</properties>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ndviet</groupId>
<artifactId>test-libraries-utilities</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.ndviet</groupId>
<artifactId>test-libraries-webui</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${skipTests}</skipTests>
<systemPropertyVariables>
<!--suppress UnresolvedMavenProperty - Property 'custom.timestamp' is created when initializing-->
<outputDirectory>${outputDirectory}</outputDirectory>
<selenium.screenshot.directory>${selenium.screenshot.directory}</selenium.screenshot.directory>
<!-- Properties for Test Configuration files (precedence level: system props -> ordering<N> -> base) -->
<configuration.directory>${configuration.directory}</configuration.directory>
<configuration.base>${configuration.base}</configuration.base>
<configuration.ordering1>${configuration.ordering1}</configuration.ordering1>
<configuration.ordering2>${configuration.ordering2}</configuration.ordering2>
<testObjectRepository.directory>${testObjectRepository.directory}
</testObjectRepository.directory>
<webElementIdentifiers.directory>${webElementIdentifiers.directory}
</webElementIdentifiers.directory>
<testData.directory>${testData.directory}</testData.directory>
<log4j2.configurationFile>${log4j2.configurationFile}</log4j2.configurationFile>
<log4j2.path>${log4j2.path}</log4j2.path>
<applicationContextPath>${applicationContextPath}</applicationContextPath>
</systemPropertyVariables>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/suites/${includes}</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</build>
</project>