|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 1 | +<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"> |
3 | 2 | <modelVersion>4.0.0</modelVersion> |
4 | 3 | <groupId>com.baeldung</groupId> |
5 | 4 | <artifactId>core-java-io</artifactId> |
|
211 | 210 | <artifactId>jmh-generator-annprocess</artifactId> |
212 | 211 | <version>1.19</version> |
213 | 212 | </dependency> |
214 | | - <dependency> |
215 | | - <groupId>org.springframework</groupId> |
216 | | - <artifactId>spring-web</artifactId> |
217 | | - <version>4.3.4.RELEASE</version> |
218 | | - </dependency> |
219 | | - <dependency> |
220 | | - <groupId>org.springframework.boot</groupId> |
221 | | - <artifactId>spring-boot-starter</artifactId> |
222 | | - <version>1.5.8.RELEASE</version> |
223 | | - </dependency> |
224 | 213 | <dependency> |
225 | 214 | <groupId>org.hsqldb</groupId> |
226 | 215 | <artifactId>hsqldb</artifactId> |
|
264 | 253 | </configuration> |
265 | 254 | </plugin> |
266 | 255 |
|
267 | | - <plugin> |
268 | | - <groupId>org.apache.maven.plugins</groupId> |
269 | | - <artifactId>maven-dependency-plugin</artifactId> |
270 | | - <executions> |
271 | | - <execution> |
272 | | - <id>copy-dependencies</id> |
273 | | - <phase>prepare-package</phase> |
274 | | - <goals> |
275 | | - <goal>copy-dependencies</goal> |
276 | | - </goals> |
277 | | - <configuration> |
278 | | - <outputDirectory>${project.build.directory}/libs</outputDirectory> |
279 | | - </configuration> |
280 | | - </execution> |
281 | | - </executions> |
282 | | - </plugin> |
283 | | - |
284 | | - <plugin> |
285 | | - <groupId>org.apache.maven.plugins</groupId> |
286 | | - <artifactId>maven-jar-plugin</artifactId> |
287 | | - <configuration> |
288 | | - <archive> |
289 | | - <manifest> |
290 | | - <addClasspath>true</addClasspath> |
291 | | - <classpathPrefix>libs/</classpathPrefix> |
292 | | - <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass> |
293 | | - </manifest> |
294 | | - </archive> |
295 | | - </configuration> |
296 | | - </plugin> |
297 | | - |
298 | | - <plugin> |
299 | | - <groupId>org.apache.maven.plugins</groupId> |
300 | | - <artifactId>maven-assembly-plugin</artifactId> |
301 | | - <executions> |
302 | | - <execution> |
303 | | - <phase>package</phase> |
304 | | - <goals> |
305 | | - <goal>single</goal> |
306 | | - </goals> |
307 | | - <configuration> |
308 | | - <archiveBaseDirectory>${project.basedir}</archiveBaseDirectory> |
309 | | - <archive> |
310 | | - <manifest> |
311 | | - <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass> |
312 | | - </manifest> |
313 | | - </archive> |
314 | | - <descriptorRefs> |
315 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
316 | | - </descriptorRefs> |
317 | | - </configuration> |
318 | | - </execution> |
319 | | - </executions> |
320 | | - </plugin> |
321 | | - |
322 | | - <plugin> |
323 | | - <groupId>org.apache.maven.plugins</groupId> |
324 | | - <artifactId>maven-shade-plugin</artifactId> |
325 | | - <executions> |
326 | | - <execution> |
327 | | - <goals> |
328 | | - <goal>shade</goal> |
329 | | - </goals> |
330 | | - <configuration> |
331 | | - <shadedArtifactAttached>true</shadedArtifactAttached> |
332 | | - <transformers> |
333 | | - <transformer |
334 | | - implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
335 | | - <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass> |
336 | | - </transformer> |
337 | | - </transformers> |
338 | | - </configuration> |
339 | | - </execution> |
340 | | - </executions> |
341 | | - </plugin> |
342 | | - |
343 | | - <plugin> |
344 | | - <groupId>com.jolira</groupId> |
345 | | - <artifactId>onejar-maven-plugin</artifactId> |
346 | | - <executions> |
347 | | - <execution> |
348 | | - <configuration> |
349 | | - <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass> |
350 | | - <attachToBuild>true</attachToBuild> |
351 | | - <filename>${project.build.finalName}-onejar.${project.packaging}</filename> |
352 | | - </configuration> |
353 | | - <goals> |
354 | | - <goal>one-jar</goal> |
355 | | - </goals> |
356 | | - </execution> |
357 | | - </executions> |
358 | | - </plugin> |
359 | | - |
360 | 256 | <plugin> |
361 | 257 | <groupId>org.springframework.boot</groupId> |
362 | 258 | <artifactId>spring-boot-maven-plugin</artifactId> |
|
384 | 280 | <argument>-Xmx300m</argument> |
385 | 281 | <argument>-XX:+UseParallelGC</argument> |
386 | 282 | <argument>-classpath</argument> |
387 | | - <classpath/> |
| 283 | + <classpath /> |
388 | 284 | <argument>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</argument> |
389 | 285 | </arguments> |
390 | 286 | </configuration> |
391 | 287 | </plugin> |
392 | | - |
| 288 | + |
393 | 289 | <plugin> |
394 | 290 | <groupId>org.apache.maven.plugins</groupId> |
395 | 291 | <artifactId>maven-javadoc-plugin</artifactId> |
396 | 292 | <version>3.0.0-M1</version> |
397 | 293 | <configuration> |
398 | 294 | <source>1.8</source> |
399 | | - <target>1.8</target> |
| 295 | + <target>1.8</target> |
400 | 296 | </configuration> |
401 | 297 | </plugin> |
402 | 298 |
|
|
442 | 338 | <executions> |
443 | 339 | <execution> |
444 | 340 | <id>run-benchmarks</id> |
445 | | - <!-- <phase>integration-test</phase>--> |
| 341 | + <!-- <phase>integration-test</phase> --> |
446 | 342 | <phase>none</phase> |
447 | 343 | <goals> |
448 | 344 | <goal>exec</goal> |
|
452 | 348 | <executable>java</executable> |
453 | 349 | <arguments> |
454 | 350 | <argument>-classpath</argument> |
455 | | - <classpath/> |
| 351 | + <classpath /> |
456 | 352 | <argument>org.openjdk.jmh.Main</argument> |
457 | 353 | <argument>.*</argument> |
458 | 354 | </arguments> |
|
490 | 386 | <protonpack.version>1.13</protonpack.version> |
491 | 387 | <streamex.version>0.6.5</streamex.version> |
492 | 388 | <vavr.version>0.9.0</vavr.version> |
493 | | - |
| 389 | + |
494 | 390 | <!-- testing --> |
495 | 391 | <org.hamcrest.version>1.3</org.hamcrest.version> |
496 | 392 | <junit.version>4.12</junit.version> |
|
0 commit comments