|
6 | 6 | <groupId>org.springframework.boot</groupId> |
7 | 7 | <artifactId>spring-boot-starter-parent</artifactId> |
8 | 8 | <version>3.4.5</version> |
9 | | - <relativePath/> <!-- lookup parent from repository --> |
| 9 | + <relativePath/> |
10 | 10 | </parent> |
11 | 11 | <groupId>ivan</groupId> |
12 | 12 | <artifactId>solscanbot</artifactId> |
|
29 | 29 | <properties> |
30 | 30 | <maven.checkstyle.plugin.configLocation>checkstyle.xml</maven.checkstyle.plugin.configLocation> |
31 | 31 | <java.version>21</java.version> |
| 32 | + <org.mapstruct.version>1.6.3</org.mapstruct.version> |
| 33 | + <lombok.mapstruct.binding.version>0.2.0</lombok.mapstruct.binding.version> |
32 | 34 | </properties> |
33 | 35 | <dependencies> |
34 | 36 | <dependency> |
|
55 | 57 | <artifactId>telegrambots</artifactId> |
56 | 58 | <version>6.1.0</version> |
57 | 59 | </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>org.mapstruct</groupId> |
| 62 | + <artifactId>mapstruct</artifactId> |
| 63 | + <version>${org.mapstruct.version}</version> |
| 64 | + </dependency> |
58 | 65 |
|
59 | 66 | <dependency> |
60 | 67 | <groupId>org.springframework.boot</groupId> |
|
74 | 81 | <groupId>org.springframework.boot</groupId> |
75 | 82 | <artifactId>spring-boot-maven-plugin</artifactId> |
76 | 83 | </plugin> |
| 84 | + <plugin> |
| 85 | + <groupId>org.apache.maven.plugins</groupId> |
| 86 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 87 | + <version>3.3.0</version> |
| 88 | + <executions> |
| 89 | + <execution> |
| 90 | + <phase>compile</phase> |
| 91 | + <goals> |
| 92 | + <goal>check</goal> |
| 93 | + </goals> |
| 94 | + </execution> |
| 95 | + </executions> |
| 96 | + <configuration> |
| 97 | + <sourceDirectories> |
| 98 | + <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 99 | + <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory> |
| 100 | + </sourceDirectories> |
| 101 | + <configLocation>${maven.checkstyle.plugin.configLocation}</configLocation> |
| 102 | + <consoleOutput>true</consoleOutput> |
| 103 | + <failsOnError>true</failsOnError> |
| 104 | + <linkXRef>false</linkXRef> |
| 105 | + </configuration> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <groupId>org.apache.maven.plugins</groupId> |
| 109 | + <artifactId>maven-compiler-plugin</artifactId> |
| 110 | + <configuration> |
| 111 | + <source>${java.version}</source> |
| 112 | + <target>${java.version}</target> |
| 113 | + <annotationProcessorPaths> |
| 114 | + <path> |
| 115 | + <groupId>org.projectlombok</groupId> |
| 116 | + <artifactId>lombok</artifactId> |
| 117 | + <version>${lombok.version}</version> |
| 118 | + </path> |
| 119 | + <path> |
| 120 | + <groupId>org.projectlombok</groupId> |
| 121 | + <artifactId>lombok-mapstruct-binding</artifactId> |
| 122 | + <version>${lombok.mapstruct.binding.version}</version> |
| 123 | + </path> |
| 124 | + <path> |
| 125 | + <groupId>org.mapstruct</groupId> |
| 126 | + <artifactId>mapstruct-processor</artifactId> |
| 127 | + <version>${org.mapstruct.version}</version> |
| 128 | + </path> |
| 129 | + </annotationProcessorPaths> |
| 130 | + </configuration> |
| 131 | + </plugin> |
77 | 132 | </plugins> |
78 | 133 | </build> |
79 | | - |
80 | 134 | </project> |
0 commit comments