|
83 | 83 | <groupId>org.aspectj</groupId> |
84 | 84 | <artifactId>aspectjrt</artifactId> |
85 | 85 | <version>${aspectj}</version> |
| 86 | + <optional>true</optional> |
86 | 87 | </dependency> |
87 | 88 |
|
88 | 89 | <dependency> |
|
329 | 330 | <phase>generate-sources</phase> |
330 | 331 | <configuration> |
331 | 332 | <visitor>true</visitor> |
| 333 | + <sourceDirectory>${project.basedir}/src/main/antlr4</sourceDirectory> |
332 | 334 | </configuration> |
333 | 335 | </execution> |
334 | 336 | </executions> |
|
344 | 346 | <goals> |
345 | 347 | <goal>replace</goal> |
346 | 348 | </goals> |
| 349 | + <configuration> |
| 350 | + <basedir>${project.build.directory}/generated-sources</basedir> |
| 351 | + <includes> |
| 352 | + <include>antlr4/**/*.java</include> |
| 353 | + </includes> |
| 354 | + <variableTokenValueMap> |
| 355 | + public class=class,public interface=interface |
| 356 | + </variableTokenValueMap> |
| 357 | + </configuration> |
347 | 358 | </execution> |
348 | 359 | </executions> |
349 | | - <configuration> |
350 | | - <includes> |
351 | | - <include>target/generated-sources/antlr4/**/*.java</include> |
352 | | - </includes> |
353 | | - <variableTokenValueMap> |
354 | | - public class=class,public interface=interface |
355 | | - </variableTokenValueMap> |
356 | | - </configuration> |
357 | 360 | </plugin> |
358 | 361 |
|
359 | 362 | <plugin> |
| 363 | + <groupId>org.apache.maven.plugins</groupId> |
360 | 364 | <artifactId>maven-compiler-plugin</artifactId> |
361 | 365 | <configuration> |
362 | 366 | <proc>only</proc> |
| 367 | + <annotationProcessorPaths> |
| 368 | + <path> |
| 369 | + <groupId>com.querydsl</groupId> |
| 370 | + <artifactId>querydsl-apt</artifactId> |
| 371 | + <version>${querydsl}</version> |
| 372 | + <classifier>jakarta</classifier> |
| 373 | + </path> |
| 374 | + <path> |
| 375 | + <groupId>org.hibernate.orm</groupId> |
| 376 | + <artifactId>hibernate-jpamodelgen</artifactId> |
| 377 | + <version>${hibernate}</version> |
| 378 | + </path> |
| 379 | + </annotationProcessorPaths> |
363 | 380 | </configuration> |
364 | 381 | </plugin> |
365 | 382 |
|
|
381 | 398 | <goal>compile</goal> |
382 | 399 | </goals> |
383 | 400 | <phase>process-classes</phase> |
384 | | - <configuration> |
385 | | - </configuration> |
386 | 401 | </execution> |
387 | 402 | <execution> |
388 | 403 | <id>aspectj-test-compile</id> |
389 | 404 | <goals> |
390 | 405 | <goal>test-compile</goal> |
391 | 406 | </goals> |
392 | 407 | <phase>process-test-classes</phase> |
393 | | - <configuration> |
394 | | - </configuration> |
395 | 408 | </execution> |
396 | 409 | </executions> |
397 | 410 | <configuration> |
|
0 commit comments