|
52 | 52 | <maven.compiler.source>17</maven.compiler.source> |
53 | 53 | <maven.compiler.target>17</maven.compiler.target> |
54 | 54 | <maven.compiler.release>17</maven.compiler.release> |
55 | | - <lombok.version>1.18.42</lombok.version> |
56 | 55 | <gson.version>2.13.2</gson.version> |
57 | 56 | <httpclient.version>5.5.1</httpclient.version> |
58 | 57 | <lang3.version>3.19.0</lang3.version> |
|
112 | 111 | <artifactId>httpclient5</artifactId> |
113 | 112 | <version>${httpclient.version}</version> |
114 | 113 | </dependency> |
115 | | - <dependency> |
116 | | - <groupId>org.projectlombok</groupId> |
117 | | - <artifactId>lombok</artifactId> |
118 | | - <version>${lombok.version}</version> |
119 | | - </dependency> |
120 | 114 | <dependency> |
121 | 115 | <groupId>com.google.code.gson</groupId> |
122 | 116 | <artifactId>gson</artifactId> |
|
229 | 223 | </plugin> |
230 | 224 | <plugin> |
231 | 225 | <artifactId>maven-surefire-plugin</artifactId> |
232 | | - <version>2.22.2</version> |
| 226 | + <version>3.5.4</version> |
233 | 227 | <configuration> |
234 | 228 | <trimStackTrace>false</trimStackTrace> |
235 | | - <argLine> |
236 | | - <!-- |
237 | | - Gson (used for JSON serialization) utilizes reflection and needs to be able to access private fields of |
238 | | - Java core classes. For that to work correctly after Java 9, we need to open up some of the core Java |
239 | | - classes to reflection. |
240 | | - @see: https://www.oracle.com/corporate/features/understanding-java-9-modules.html |
241 | | - --> |
242 | | - --add-opens=java.base/java.lang=ALL-UNNAMED |
243 | | - </argLine> |
244 | | - <properties> |
245 | | - <property> |
246 | | - <name>listener</name> |
247 | | - <value>io.weaviate.containers.TestListener</value> |
248 | | - </property> |
249 | | - </properties> |
| 229 | + <parallel>classes</parallel> |
| 230 | + <forkCount>4</forkCount> |
| 231 | + <reuseForks>true</reuseForks> |
| 232 | + <threadCount>1</threadCount> |
| 233 | + <perCoreThreadCount>true</perCoreThreadCount> |
| 234 | + <runOrder>balanced</runOrder> |
250 | 235 | </configuration> |
251 | 236 | </plugin> |
252 | | - <plugin> |
253 | | - <groupId>org.projectlombok</groupId> |
254 | | - <artifactId>lombok-maven-plugin</artifactId> |
255 | | - <version>1.18.20.0</version> |
256 | | - <executions> |
257 | | - <execution> |
258 | | - <id>delombok-sources</id> |
259 | | - <phase>generate-sources</phase> |
260 | | - <goals> |
261 | | - <goal>delombok</goal> |
262 | | - </goals> |
263 | | - <configuration> |
264 | | - <sourceDirectory>src/main/java</sourceDirectory> |
265 | | - <outputDirectory>${project.build.directory}/delombok</outputDirectory> |
266 | | - <addOutputDirectory>false</addOutputDirectory> |
267 | | - <encoding>UTF-8</encoding> |
268 | | - </configuration> |
269 | | - </execution> |
270 | | - </executions> |
271 | | - <dependencies> |
272 | | - <dependency> |
273 | | - <groupId>org.projectlombok</groupId> |
274 | | - <artifactId>lombok</artifactId> |
275 | | - <version>${lombok.version}</version> |
276 | | - </dependency> |
277 | | - </dependencies> |
278 | | - </plugin> |
279 | | - <plugin> |
280 | | - <groupId>org.apache.maven.plugins</groupId> |
281 | | - <artifactId>maven-antrun-plugin</artifactId> |
282 | | - <version>3.0.0</version> |
283 | | - <executions> |
284 | | - <execution> |
285 | | - <id>generate-delomboked-sources-jar</id> |
286 | | - <phase>package</phase> |
287 | | - <goals> |
288 | | - <goal>run</goal> |
289 | | - </goals> |
290 | | - <configuration> |
291 | | - <target> |
292 | | - <jar destfile="${project.build.directory}/${project.build.finalName}-sources.jar" basedir="${project.build.directory}/delombok"/> |
293 | | - </target> |
294 | | - </configuration> |
295 | | - </execution> |
296 | | - </executions> |
297 | | - </plugin> |
298 | 237 | <plugin> |
299 | 238 | <groupId>org.codehaus.mojo</groupId> |
300 | 239 | <artifactId>versions-maven-plugin</artifactId> |
|
317 | 256 | <artifactId>build-helper-maven-plugin</artifactId> |
318 | 257 | <version>3.2.0</version> |
319 | 258 | <executions> |
320 | | - <execution> |
321 | | - <id>attach-delomboked-sources-jar</id> |
322 | | - <phase>package</phase> |
323 | | - <goals> |
324 | | - <goal>attach-artifact</goal> |
325 | | - </goals> |
326 | | - <configuration> |
327 | | - <artifacts> |
328 | | - <artifact> |
329 | | - <file>${project.build.directory}/${project.build.finalName}-sources.jar</file> |
330 | | - <type>jar</type> |
331 | | - <classifier>sources</classifier> |
332 | | - </artifact> |
333 | | - </artifacts> |
334 | | - </configuration> |
335 | | - </execution> |
336 | 259 | <execution> |
337 | 260 | <id>add-test-source</id> |
338 | 261 | <phase>generate-test-sources</phase> |
|
384 | 307 | </execution> |
385 | 308 | </executions> |
386 | 309 | <configuration> |
387 | | - <sourcepath>${project.build.directory}/delombok</sourcepath> |
388 | 310 | <!--Disable warnings about missing docstrings.--> |
389 | 311 | <doclint>all,-missing</doclint> |
390 | 312 | </configuration> |
|
512 | 434 | </plugins> |
513 | 435 | </pluginManagement> |
514 | 436 | <plugins> |
515 | | - <plugin> |
516 | | - <groupId>org.projectlombok</groupId> |
517 | | - <artifactId>lombok-maven-plugin</artifactId> |
518 | | - </plugin> |
519 | 437 | <plugin> |
520 | 438 | <groupId>org.xolstice.maven.plugins</groupId> |
521 | 439 | <artifactId>protobuf-maven-plugin</artifactId> |
|
0 commit comments