|
21 | 21 | <properties> |
22 | 22 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | 23 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
24 | | - <java.version>17</java.version> |
| 24 | + <java.version>21</java.version> |
25 | 25 | <jjwt.version>0.12.6</jjwt.version> |
26 | 26 | </properties> |
27 | 27 |
|
28 | 28 | <dependencies> |
29 | 29 | <dependency> |
30 | 30 | <groupId>org.springframework.boot</groupId> |
31 | | - <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 31 | + <artifactId>spring-boot-starter-web</artifactId> |
32 | 32 | </dependency> |
33 | 33 | <dependency> |
34 | 34 | <groupId>org.springframework.boot</groupId> |
35 | | - <artifactId>spring-boot-starter-security</artifactId> |
| 35 | + <artifactId>spring-boot-starter-hateoas</artifactId> |
36 | 36 | </dependency> |
37 | 37 | <dependency> |
38 | 38 | <groupId>org.springframework.boot</groupId> |
39 | | - <artifactId>spring-boot-starter-web</artifactId> |
| 39 | + <artifactId>spring-boot-starter-validation</artifactId> |
40 | 40 | </dependency> |
41 | | - |
42 | 41 | <dependency> |
43 | 42 | <groupId>org.springframework.boot</groupId> |
44 | | - <artifactId>spring-boot-starter-validation</artifactId> |
| 43 | + <artifactId>spring-boot-starter-security</artifactId> |
45 | 44 | </dependency> |
46 | | - |
47 | 45 | <dependency> |
48 | 46 | <groupId>org.springframework.boot</groupId> |
49 | | - <artifactId>spring-boot-starter-hateoas</artifactId> |
| 47 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
50 | 48 | </dependency> |
51 | 49 |
|
52 | 50 | <dependency> |
53 | 51 | <groupId>org.springframework.boot</groupId> |
54 | 52 | <artifactId>spring-boot-starter-data-rest</artifactId> |
55 | 53 | </dependency> |
56 | 54 |
|
| 55 | + <dependency> |
| 56 | + <groupId>org.postgresql</groupId> |
| 57 | + <artifactId>postgresql</artifactId> |
| 58 | + <scope>runtime</scope> |
| 59 | + </dependency> |
| 60 | + |
57 | 61 | <dependency> |
58 | 62 | <groupId>org.projectlombok</groupId> |
59 | 63 | <artifactId>lombok</artifactId> |
|
79 | 83 | <scope>runtime</scope> |
80 | 84 | </dependency> |
81 | 85 |
|
82 | | - <dependency> |
83 | | - <groupId>org.postgresql</groupId> |
84 | | - <artifactId>postgresql</artifactId> |
85 | | - </dependency> |
86 | | - |
87 | 86 | <dependency> |
88 | 87 | <groupId>org.springframework.boot</groupId> |
89 | 88 | <artifactId>spring-boot-starter-test</artifactId> |
|
113 | 112 |
|
114 | 113 | <build> |
115 | 114 | <plugins> |
| 115 | + <plugin> |
| 116 | + <groupId>org.apache.maven.plugins</groupId> |
| 117 | + <artifactId>maven-compiler-plugin</artifactId> |
| 118 | + <configuration> |
| 119 | + <annotationProcessorPaths> |
| 120 | + <path> |
| 121 | + <groupId>org.projectlombok</groupId> |
| 122 | + <artifactId>lombok</artifactId> |
| 123 | + </path> |
| 124 | + </annotationProcessorPaths> |
| 125 | + </configuration> |
| 126 | + </plugin> |
116 | 127 | <plugin> |
117 | 128 | <groupId>org.springframework.boot</groupId> |
118 | 129 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 130 | + <configuration> |
| 131 | + <excludes> |
| 132 | + <exclude> |
| 133 | + <groupId>org.projectlombok</groupId> |
| 134 | + <artifactId>lombok</artifactId> |
| 135 | + </exclude> |
| 136 | + </excludes> |
| 137 | + </configuration> |
119 | 138 | </plugin> |
120 | 139 | </plugins> |
121 | 140 | </build> |
|
0 commit comments