-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
111 lines (106 loc) · 2.77 KB
/
pom.xml
File metadata and controls
111 lines (106 loc) · 2.77 KB
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
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>software.xdev.tci.demo.it</groupId>
<artifactId>integration-tests</artifactId>
<version>3.3.2-SNAPSHOT</version>
</parent>
<artifactId>webapp-it</artifactId>
<properties>
<!-- by default run no tests -->
<skipTests>true</skipTests>
<jaCoCoSurefireArgs/>
</properties>
<dependencies>
<dependency>
<groupId>software.xdev.tci.demo.it</groupId>
<artifactId>tci-db</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>software.xdev.tci</groupId>
<artifactId>oidc-server-mock</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>software.xdev.tci</groupId>
<artifactId>selenium</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>software.xdev.tci.demo.it</groupId>
<artifactId>tci-webapp</artifactId>
<scope>test</scope>
</dependency>
<!-- Logging for tests -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>run-it</id>
<properties>
<skipTests>false</skipTests>
</properties>
</profile>
<profile>
<id>jacoco</id>
<properties>
<jaCoCoSurefireArgs>-Dtci.jacoco.enabled=true</jaCoCoSurefireArgs>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.14</version>
<executions>
<execution>
<id>merge-webapp</id>
<goals>
<goal>merge</goal>
</goals>
<phase>test</phase>
<configuration>
<fileSets>
<fileSet>
<directory>${project.build.directory}/jacoco-execution-data-files/app
</directory>
</fileSet>
</fileSets>
<destFile>${project.basedir}/../../webapp/target/webapp-it-jacoco.exec</destFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${skipTests}</skipTests>
<argLine>${jaCoCoSurefireArgs}</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>