1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+
4
+ Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved.
5
+
6
+ This program and the accompanying materials are made available under the
7
+ terms of the Eclipse Public License v. 2.0 which is available at
8
+ http://www.eclipse.org/legal/epl-2.0,
9
+ or the Eclipse Distribution License v. 1.0 which is available at
10
+ http://www.eclipse.org/org/documents/edl-v10.php.
11
+
12
+ SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
13
+
14
+ -->
15
+
16
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
17
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
18
+ <modelVersion >4.0.0</modelVersion >
19
+ <groupId >${groupId} </groupId >
20
+ <artifactId >${artifactId} </artifactId >
21
+ <version >${version} </version >
22
+
23
+ <name >${artifactId} </name >
24
+
25
+ <properties >
26
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
27
+ <!-- Minimum required JDK version -->
28
+ <maven .compiler.release>17</maven .compiler.release>
29
+ <maven .compiler.testRelease>17</maven .compiler.testRelease>
30
+
31
+ <eclipselink .bug.version>${project.version} </eclipselink .bug.version>
32
+ <jpa .api.bug.version>${jpa.api.version} </jpa .api.bug.version>
33
+ <asm .bug.version>${asm.version} </asm .bug.version>
34
+ <eclipselink .asm.bug.version>${eclipselink.asm.version} </eclipselink .asm.bug.version>
35
+ <junit .bug.version>${junit.version} </junit .bug.version>
36
+
37
+ <derby .bug.version>${derby.version} </derby .bug.version>
38
+ <h2 .bug.version>2.2.224</h2 .bug.version>
39
+ <mssql .bug.version>${mssql.version} </mssql .bug.version>
40
+ <mysql .bug.version>${mysql.version} </mysql .bug.version>
41
+ <oracle .jdbc.bug.version>${oracle.jdbc.version} </oracle .jdbc.bug.version>
42
+ <postgresql .bug.version>${pgsql.version} </postgresql .bug.version>
43
+
44
+ </properties >
45
+
46
+ <dependencies >
47
+ <dependency >
48
+ <groupId >jakarta.persistence</groupId >
49
+ <artifactId >jakarta.persistence-api</artifactId >
50
+ <version >${jpa.api.bug.version} </version >
51
+ </dependency >
52
+ <dependency >
53
+ <groupId >org.eclipse.persistence</groupId >
54
+ <artifactId >eclipselink</artifactId >
55
+ <version >${eclipselink.bug.version} </version >
56
+ </dependency >
57
+ <dependency >
58
+ <groupId >org.eclipse.persistence</groupId >
59
+ <artifactId >org.eclipse.persistence.asm</artifactId >
60
+ <version >${eclipselink.asm.bug.version} </version >
61
+ </dependency >
62
+ <dependency >
63
+ <groupId >org.ow2.asm</groupId >
64
+ <artifactId >asm</artifactId >
65
+ <version >${asm.bug.version} </version >
66
+ </dependency >
67
+ <dependency >
68
+ <groupId >org.ow2.asm</groupId >
69
+ <artifactId >asm-commons</artifactId >
70
+ <version >${asm.bug.version} </version >
71
+ </dependency >
72
+ <dependency >
73
+ <groupId >org.ow2.asm</groupId >
74
+ <artifactId >asm-tree</artifactId >
75
+ <version >${asm.bug.version} </version >
76
+ </dependency >
77
+ <dependency >
78
+ <groupId >org.ow2.asm</groupId >
79
+ <artifactId >asm-util</artifactId >
80
+ <version >${asm.bug.version} </version >
81
+ </dependency >
82
+ <dependency >
83
+ <groupId >junit</groupId >
84
+ <artifactId >junit</artifactId >
85
+ <version >${junit.bug.version} </version >
86
+ <scope >test</scope >
87
+ </dependency >
88
+ <dependency >
89
+ <groupId >org.apache.derby</groupId >
90
+ <artifactId >derbyclient</artifactId >
91
+ <version >${derby.bug.version} </version >
92
+ <scope >test</scope >
93
+ </dependency >
94
+ <dependency >
95
+ <groupId >org.apache.derby</groupId >
96
+ <artifactId >derbytools</artifactId >
97
+ <version >${derby.bug.version} </version >
98
+ <scope >test</scope >
99
+ </dependency >
100
+ <dependency >
101
+ <groupId >com.h2database</groupId >
102
+ <artifactId >h2</artifactId >
103
+ <version >${h2.bug.version} </version >
104
+ </dependency >
105
+ <dependency >
106
+ <groupId >com.microsoft.sqlserver</groupId >
107
+ <artifactId >mssql-jdbc</artifactId >
108
+ <version >${mssql.bug.version} </version >
109
+ <scope >test</scope >
110
+ </dependency >
111
+ <dependency >
112
+ <groupId >org.postgresql</groupId >
113
+ <artifactId >postgresql</artifactId >
114
+ <version >${postgresql.bug.version} </version >
115
+ <scope >test</scope >
116
+ </dependency >
117
+ <dependency >
118
+ <groupId >com.mysql</groupId >
119
+ <artifactId >mysql-connector-j</artifactId >
120
+ <version >${mysql.bug.version} </version >
121
+ <scope >test</scope >
122
+ </dependency >
123
+ <dependency >
124
+ <groupId >com.oracle.database.jdbc</groupId >
125
+ <artifactId >ojdbc11</artifactId >
126
+ <version >${oracle.jdbc.bug.version} </version >
127
+ <scope >test</scope >
128
+ </dependency >
129
+ </dependencies >
130
+
131
+ <build >
132
+ <pluginManagement >
133
+ <plugins >
134
+ <plugin >
135
+ <groupId >org.apache.maven.plugins</groupId >
136
+ <artifactId >maven-failsafe-plugin</artifactId >
137
+ <version >3.2.2</version >
138
+ </plugin >
139
+ <plugin >
140
+ <groupId >org.carlspring.maven</groupId >
141
+ <artifactId >derby-maven-plugin</artifactId >
142
+ <version >1.10</version >
143
+ <dependencies >
144
+ <dependency >
145
+ <groupId >org.apache.derby</groupId >
146
+ <artifactId >derby</artifactId >
147
+ <version >${derby.version} </version >
148
+ </dependency >
149
+ <dependency >
150
+ <groupId >org.apache.derby</groupId >
151
+ <artifactId >derbyclient</artifactId >
152
+ <version >${derby.version} </version >
153
+ </dependency >
154
+ <dependency >
155
+ <groupId >org.apache.derby</groupId >
156
+ <artifactId >derbynet</artifactId >
157
+ <version >${derby.version} </version >
158
+ </dependency >
159
+ </dependencies >
160
+ </plugin >
161
+ </plugins >
162
+ </pluginManagement >
163
+
164
+ <plugins >
165
+ <plugin >
166
+ <groupId >org.apache.maven.plugins</groupId >
167
+ <artifactId >maven-failsafe-plugin</artifactId >
168
+ <configuration >
169
+ <workingDirectory >${project.build.directory} /test-classes</workingDirectory >
170
+ </configuration >
171
+ <executions >
172
+ <execution >
173
+ <id >integration-test</id >
174
+ <goals >
175
+ <goal >integration-test</goal >
176
+ </goals >
177
+ <configuration >
178
+ <includes >
179
+ <include >*Test*</include >
180
+ </includes >
181
+ </configuration >
182
+ </execution >
183
+ <execution >
184
+ <id >verify-integration-tests</id >
185
+ <goals >
186
+ <goal >verify</goal >
187
+ </goals >
188
+ </execution >
189
+ </executions >
190
+ </plugin >
191
+ <plugin >
192
+ <groupId >org.carlspring.maven</groupId >
193
+ <artifactId >derby-maven-plugin</artifactId >
194
+ <configuration >
195
+ <derbyHome >${project.build.directory} /derby</derbyHome >
196
+ <username >root</username >
197
+ <password >root</password >
198
+ <driver >org.apache.derby.jdbc.ClientDriver</driver >
199
+ <!-- <connectionURL>jdbc:derby://localhost/memory:ecltests;create=true</connectionURL>-->
200
+ <connectionURL >jdbc:derby://localhost:1527/ecltests;create=true</connectionURL >
201
+ <!-- Log SQL statements.-->
202
+ <!-- <debugStatements>true</debugStatements>-->
203
+ </configuration >
204
+ <executions >
205
+ <execution >
206
+ <id >start-derby</id >
207
+ <phase >pre-integration-test</phase >
208
+ <goals >
209
+ <goal >start</goal >
210
+ </goals >
211
+ </execution >
212
+ <execution >
213
+ <id >stop-derby</id >
214
+ <phase >post-integration-test</phase >
215
+ <goals >
216
+ <goal >stop</goal >
217
+ </goals >
218
+ </execution >
219
+ </executions >
220
+ </plugin >
221
+ </plugins >
222
+ </build >
223
+ </project >
0 commit comments