forked from SAP/jenkins-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
140 lines (126 loc) · 5.34 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="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>
<name>cloud-sdk-spring-archetype - Unit Tests</name>
<description>cloud-sdk-spring-archetype - Unit Tests</description>
<artifactId>cloud-sdk-spring-archetype-unit-tests</artifactId>
<version>1.0.0-SNAPSHOT</version>
<parent>
<groupId>mydemo</groupId>
<artifactId>cloud-sdk-spring-archetype</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<properties>
<surefire.skipTests>false</surefire.skipTests>
<surefire.forkCount>1</surefire.forkCount>
<surefire.include>*</surefire.include>
<surefire.exclude/>
<surefire.groups/>
<surefire.excludedGroups/>
<surefire.maxMemorySize>1024m</surefire.maxMemorySize>
<surefire.logLevel>info</surefire.logLevel>
<!--
Use the argLine property to define the arguments for the JVMs that are forked by the surefire plugin.
This avoids the need to use late property evaluation for configuring the jacoco plugin.
Relying on late evaluation of properties such as @{argLine} can result in issues with certain IDEs.
For more details, visit:
https://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html
-->
<argLine>-Xmx${surefire.maxMemorySize} -Dorg.slf4j.simpleLogger.defaultLogLevel=${surefire.logLevel}</argLine>
<jacoco.executionDataFile>${project.build.directory}/coverage-reports/jacoco.exec</jacoco.executionDataFile>
<jacoco.includes>*</jacoco.includes>
<jacoco.excludes>org.apache.*</jacoco.excludes>
</properties>
<dependencies>
<dependency>
<groupId>mydemo</groupId>
<artifactId>cloud-sdk-spring-archetype-application</artifactId>
<version>1.0.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.sap.cloud.sdk.cloudplatform</groupId>
<artifactId>scp-cf</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sap.cloud.sdk.s4hana</groupId>
<artifactId>s4hana-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sap.cloud.sdk.testutil</groupId>
<artifactId>testutil-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version>
<configuration>
<destFile>${jacoco.executionDataFile}</destFile>
<dataFile>${jacoco.executionDataFile}</dataFile>
<includes>${jacoco.includes}</includes>
<excludes>${jacoco.excludes}</excludes>
</configuration>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<skipTests>${surefire.skipTests}</skipTests>
<includes>
<include>${surefire.include}</include>
</includes>
<excludes>
<exclude>${surefire.exclude}</exclude>
</excludes>
<forkCount>${surefire.forkCount}</forkCount>
<reuseForks>false</reuseForks>
<groups>${surefire.groups}</groups>
<excludedGroups>${surefire.excludedGroups}</excludedGroups>
<systemPropertyVariables>
<surefire.forkDir>${project.build.directory}/surefire-fork/${surefire.forkNumber}/</surefire.forkDir>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>