|
27 | 27 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
28 | 28 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
29 | 29 | <modelVersion>4.0.0</modelVersion> |
| 30 | + |
30 | 31 | <groupId>com.iluwatar</groupId> |
31 | 32 | <artifactId>java-design-patterns</artifactId> |
32 | 33 | <version>1.24.0-SNAPSHOT</version> |
33 | 34 | <packaging>pom</packaging> |
| 35 | + |
34 | 36 | <inceptionYear>2014-2021</inceptionYear> |
| 37 | + |
35 | 38 | <properties> |
36 | 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
37 | 40 | <sonar-maven-plugin.version>3.8.0.2131</sonar-maven-plugin.version> |
|
65 | 68 | <system-lambda.version>1.1.0</system-lambda.version> |
66 | 69 | <urm.version>2.0.0</urm.version> |
67 | 70 | <mockito-junit-jupiter.version>3.5.0</mockito-junit-jupiter.version> |
| 71 | + <byte-buddy.version>1.10.21</byte-buddy.version> |
| 72 | + <javassist.version>3.27.0-GA</javassist.version> |
| 73 | + <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> |
| 74 | + <maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version> |
| 75 | + <directory-maven-plugin.version>0.3.1</directory-maven-plugin.version> |
| 76 | + <license-maven-plugin.version>3.0</license-maven-plugin.version> |
| 77 | + <urm-maven-plugin.version>1.4.8</urm-maven-plugin.version> |
| 78 | + |
68 | 79 | <!-- SonarCloud --> |
69 | 80 | <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
70 | 81 | <sonar.organization>iluwatar</sonar.organization> |
71 | 82 | <sonar.projectKey>iluwatar_java-design-patterns</sonar.projectKey> |
72 | 83 | <sonar.moduleKey>${project.artifactId}</sonar.moduleKey> |
73 | 84 | <sonar.projectName>Java Design Patterns</sonar.projectName> |
74 | 85 | </properties> |
| 86 | + |
75 | 87 | <modules> |
76 | 88 | <module>abstract-factory</module> |
77 | 89 | <module>tls</module> |
|
223 | 235 | <dependency> |
224 | 236 | <groupId>net.bytebuddy</groupId> |
225 | 237 | <artifactId>byte-buddy</artifactId> |
226 | | - <version>1.9.7</version> |
| 238 | + <version>${byte-buddy.version}</version> |
227 | 239 | <scope>test</scope> |
228 | 240 | </dependency> |
229 | 241 | <dependency> |
230 | 242 | <groupId>net.bytebuddy</groupId> |
231 | 243 | <artifactId>byte-buddy-agent</artifactId> |
232 | | - <version>1.9.7</version> |
| 244 | + <version>${byte-buddy.version}</version> |
233 | 245 | <scope>test</scope> |
234 | 246 | </dependency> |
235 | 247 | <dependency> |
|
354 | 366 | <dependency> |
355 | 367 | <groupId>org.javassist</groupId> |
356 | 368 | <artifactId>javassist</artifactId> |
357 | | - <version>3.26.0-GA</version> |
| 369 | + <version>${javassist.version}</version> |
358 | 370 | </dependency> |
359 | 371 | <dependency> |
360 | 372 | <groupId>com.github.stefanbirkner</groupId> |
|
395 | 407 | <target>11</target> |
396 | 408 | </configuration> |
397 | 409 | </plugin> |
| 410 | + |
398 | 411 | <plugin> |
399 | 412 | <groupId>org.apache.maven.plugins</groupId> |
400 | 413 | <artifactId>maven-surefire-plugin</artifactId> |
401 | | - <version>3.0.0-M5</version> |
| 414 | + <version>${maven-surefire-plugin.version}</version> |
402 | 415 | </plugin> |
| 416 | + |
403 | 417 | <plugin> |
404 | 418 | <groupId>org.springframework.boot</groupId> |
405 | 419 | <artifactId>spring-boot-maven-plugin</artifactId> |
406 | 420 | <version>${spring-boot.version}</version> |
407 | 421 | </plugin> |
| 422 | + |
408 | 423 | <!-- Maven assembly plugin template for all child project to follow --> |
409 | 424 | <plugin> |
410 | 425 | <groupId>org.apache.maven.plugins</groupId> |
|
427 | 442 | </execution> |
428 | 443 | </executions> |
429 | 444 | </plugin> |
| 445 | + |
430 | 446 | <plugin> |
431 | 447 | <groupId>org.sonarsource.scanner.maven</groupId> |
432 | 448 | <artifactId>sonar-maven-plugin</artifactId> |
|
439 | 455 | <plugin> |
440 | 456 | <groupId>org.apache.maven.plugins</groupId> |
441 | 457 | <artifactId>maven-checkstyle-plugin</artifactId> |
442 | | - <version>3.1.0</version> |
| 458 | + <version>${maven-checkstyle-plugin.version}</version> |
443 | 459 | <executions> |
444 | 460 | <execution> |
445 | 461 | <id>validate</id> |
|
465 | 481 | <plugin> |
466 | 482 | <groupId>org.commonjava.maven.plugins</groupId> |
467 | 483 | <artifactId>directory-maven-plugin</artifactId> |
468 | | - <version>0.3.1</version> |
| 484 | + <version>${directory-maven-plugin.version}</version> |
469 | 485 | <executions> |
470 | 486 | <execution> |
471 | 487 | <id>directories</id> |
|
483 | 499 | </execution> |
484 | 500 | </executions> |
485 | 501 | </plugin> |
| 502 | + |
486 | 503 | <plugin> |
487 | 504 | <groupId>com.mycila</groupId> |
488 | 505 | <artifactId>license-maven-plugin</artifactId> |
489 | | - <version>3.0</version> |
| 506 | + <version>${license-maven-plugin.version}</version> |
490 | 507 | <configuration> |
491 | 508 | <header>com/mycila/maven/plugin/license/templates/MIT.txt</header> |
492 | 509 | <properties> |
|
537 | 554 | <plugin> |
538 | 555 | <groupId>com.iluwatar.urm</groupId> |
539 | 556 | <artifactId>urm-maven-plugin</artifactId> |
540 | | - <version>1.4.8</version> |
| 557 | + <version>${urm-maven-plugin.version}</version> |
541 | 558 | <configuration> |
542 | 559 | <!-- if outputDirectory is not set explicitly it will default to your build dir --> |
543 | 560 | <outputDirectory>${project.basedir}/etc</outputDirectory> |
|
557 | 574 | </execution> |
558 | 575 | </executions> |
559 | 576 | </plugin> |
560 | | - |
561 | 577 | </plugins> |
562 | 578 | </build> |
563 | 579 | </project> |
0 commit comments