|
52 | 52 | <artifactId>lombok</artifactId> |
53 | 53 | <scope>provided</scope> |
54 | 54 | </dependency> |
55 | | - <dependency> |
56 | | - <groupId>org.springframework.boot</groupId> |
57 | | - <artifactId>spring-boot-starter-test</artifactId> |
58 | | - <scope>test</scope> |
59 | | - </dependency> |
| 55 | + |
| 56 | + |
| 57 | + <!-- 3) Query DSL advanced queries --> |
60 | 58 | <dependency> |
61 | 59 | <groupId>com.querydsl</groupId> |
62 | | - <artifactId>querydsl-apt</artifactId> |
| 60 | + <artifactId>querydsl-jpa</artifactId> |
63 | 61 | <version>5.1.0</version> |
64 | 62 | <classifier>jakarta</classifier> |
65 | | - <scope>provided</scope> |
66 | 63 | </dependency> |
67 | 64 | <dependency> |
68 | 65 | <groupId>com.querydsl</groupId> |
69 | | - <artifactId>querydsl-jpa</artifactId> |
70 | | - <classifier>jakarta</classifier> |
| 66 | + <artifactId>querydsl-apt</artifactId> |
71 | 67 | <version>5.1.0</version> |
| 68 | + <classifier>jakarta</classifier> |
| 69 | + <scope>provided</scope> |
72 | 70 | </dependency> |
73 | 71 | </dependencies> |
74 | 72 |
|
|
154 | 152 | <aggregate>true</aggregate> |
155 | 153 | </configuration> |
156 | 154 | </plugin> |
157 | | - <plugin> |
158 | | - <groupId>com.mysema.maven</groupId> |
159 | | - <artifactId>apt-maven-plugin</artifactId> |
160 | | - <version>1.1.3</version> |
161 | | - <executions> |
162 | | - <execution> |
163 | | - <goals> |
164 | | - <goal>process</goal> |
165 | | - </goals> |
166 | | - <configuration> |
167 | | - <outputDirectory>target/generated-sources/java</outputDirectory> |
168 | | - <processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor> |
169 | | - </configuration> |
170 | | - </execution> |
171 | | - </executions> |
172 | | - </plugin> |
173 | 155 |
|
174 | 156 | <!-- Spotless --> |
175 | 157 | <plugin> |
|
190 | 172 | </execution> |
191 | 173 | </executions> |
192 | 174 | </plugin> |
| 175 | + |
| 176 | + <!-- Maven Compiler Plugin with QueryDSL --> |
| 177 | + <plugin> |
| 178 | + <groupId>org.apache.maven.plugins</groupId> |
| 179 | + <artifactId>maven-compiler-plugin</artifactId> |
| 180 | + <configuration> |
| 181 | + <annotationProcessorPaths> |
| 182 | + <path> |
| 183 | + <groupId>com.querydsl</groupId> |
| 184 | + <artifactId>querydsl-apt</artifactId> |
| 185 | + <version>5.1.0</version> |
| 186 | + <classifier>jakarta</classifier> |
| 187 | + </path> |
| 188 | + <path> |
| 189 | + <groupId>jakarta.persistence</groupId> |
| 190 | + <artifactId>jakarta.persistence-api</artifactId> |
| 191 | + <version>${jakarta-persistence.version}</version> |
| 192 | + </path> |
| 193 | + <path> |
| 194 | + <groupId>org.projectlombok</groupId> |
| 195 | + <artifactId>lombok</artifactId> |
| 196 | + <version>${lombok.version}</version> |
| 197 | + </path> |
| 198 | + </annotationProcessorPaths> |
| 199 | + <generatedSourcesDirectory>target/generated-sources/annotations</generatedSourcesDirectory> |
| 200 | + </configuration> |
| 201 | + </plugin> |
193 | 202 | </plugins> |
194 | 203 | </build> |
195 | 204 | </project> |
0 commit comments