generated from IBM/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpom.xml
188 lines (178 loc) · 7.29 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.ibmix.magkit</groupId>
<artifactId>magkit-pom</artifactId>
<version>1.0.6</version>
</parent>
<artifactId>magkit-test</artifactId>
<version>1.0.9-SNAPSHOT</version>
<packaging>pom</packaging>
<name>magkit-test Magnolia Module</name>
<inceptionYear>2023</inceptionYear>
<modules>
<module>magkit-test-jcr</module>
<module>magkit-test-servlet</module>
<module>magkit-test-cms</module>
<module>magkit-test-server</module>
<module>magkit-test-webapp</module>
</modules>
<properties>
<version.hamcrest-core>2.2</version.hamcrest-core>
<version.el-api>2.2.5</version.el-api>
<junitVersion>5.10.2</junitVersion>
<mockitoVersion>5.12.0</mockitoVersion>
<!-- use the byte-buddy version appropriate for our mockito version
instead of the one Magnolia drags in -->
<byteBuddyVersion>1.14.15</byteBuddyVersion>
<restAssuredVersion>5.4.0</restAssuredVersion>
<!-- override magnolia version from magkit-pom -->
<version.magnolia>6.2.45</version.magnolia>
<jacocoVersion>0.8.12</jacocoVersion>
<!-- we need current surefire plugin to run TomcatTest -->
<maven.surefire.version>3.3.0</maven.surefire.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>${version.hamcrest-core}</version>
<scope>test</scope>
</dependency>
<!-- provided servlet container libs -->
<dependency>
<groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId>
<version>${version.el-api}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junitVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
<version>${mockitoVersion}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockitoVersion}</version>
<scope>test</scope>
</dependency>
<!-- override the byte-buddy version coming from Magnolia with the
one from Mockito, see
https://github.com/mockito/mockito/releases/tag/v4.5.1 for
explanation-->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byteBuddyVersion}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-core</artifactId>
<version>${magnolia.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
</plugin>
<plugin>
<!--
See
https://github.com/SonarSource/sonar-scanning-examples/tree/master/sonarqube-scanner-maven/maven-multimodule
Code coverage is aggregated in webapp module, see pom.xml there
-->
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacocoVersion}</version>
<executions>
<execution>
<id>agent-for-ut</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>before-integration-test-execution</id>
<phase>pre-integration-test</phase>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<formats>
<format>XML</format>
</formats>
</configuration>
<phase>package</phase>
</execution>
<execution>
<id>report-it</id>
<phase>post-integration-test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>${project.build.directory}/jacoco-it.exec</dataFile>
<outputDirectory>
${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
<formats>
<format>XML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<scm>
<url>https://github.com/IBM/magkit-test.git</url>
<connection>scm:git:https://github.com/IBM/magkit-test.git</connection>
<developerConnection>scm:git:https://github.com/IBM/magkit-test.git</developerConnection>
<tag>HEAD</tag>
</scm>
<repositories>
<repository>
<id>magnolia.public.releases</id>
<url>
https://nexus.magnolia-cms.com/repository/magnolia.public.releases/</url>
</repository>
<repository>
<id>vaadin-addons</id>
<url>https://maven.vaadin.com/vaadin-addons/</url>
</repository>
<!-- required to find our own super POM-->
<repository>
<id>magnolia.forge.releases</id>
<url>
https://nexus.magnolia-cms.com/content/groups/magnolia.forge.releases/</url>
</repository>
<repository>
<id>magnolia.forge.snapshots</id>
<url>
https://nexus.magnolia-cms.com/content/groups/magnolia.forge.snapshots/</url>
</repository>
</repositories>
</project>