|
58 | 58 | <dependency> |
59 | 59 | <groupId>org.projectlombok</groupId> |
60 | 60 | <artifactId>lombok</artifactId> |
61 | | - <optional>true</optional> |
| 61 | + <scope>provided</scope> |
62 | 62 | </dependency> |
63 | 63 |
|
64 | 64 | <!-- Force version for Commons Lang used by SpringDoc (CVE-2025-48924) --> |
|
100 | 100 | <artifactId>langchain4j-voyage-ai</artifactId> |
101 | 101 | <version>${langchain4j.version}</version> |
102 | 102 | </dependency> |
103 | | - |
104 | | - <dependency> |
105 | | - <groupId>org.projectlombok</groupId> |
106 | | - <artifactId>lombok</artifactId> |
107 | | - <scope>provided</scope> |
108 | | - </dependency> |
109 | 103 | </dependencies> |
110 | 104 |
|
111 | 105 | <build> |
|
114 | 108 | <plugin> |
115 | 109 | <groupId>org.springframework.boot</groupId> |
116 | 110 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 111 | + <configuration> |
| 112 | + <excludes> |
| 113 | + <exclude> |
| 114 | + <groupId>org.projectlombok</groupId> |
| 115 | + <artifactId>lombok</artifactId> |
| 116 | + </exclude> |
| 117 | + </excludes> |
| 118 | + </configuration> |
117 | 119 | </plugin> |
118 | 120 |
|
| 121 | + <!-- Maven Compiler Plugin - Process Lombok and suppress annotation processing warnings --> |
119 | 122 | <plugin> |
120 | 123 | <groupId>org.apache.maven.plugins</groupId> |
121 | 124 | <artifactId>maven-compiler-plugin</artifactId> |
122 | 125 | <configuration> |
123 | | - <source>${java.version}</source> |
124 | | - <target>${java.version}</target> |
125 | | - <encoding>${project.build.sourceEncoding}</encoding> |
126 | 126 | <annotationProcessorPaths> |
127 | 127 | <path> |
128 | 128 | <groupId>org.projectlombok</groupId> |
129 | 129 | <artifactId>lombok</artifactId> |
| 130 | + <version>${lombok.version}</version> |
130 | 131 | </path> |
131 | 132 | </annotationProcessorPaths> |
132 | | - </configuration> |
133 | | - </plugin> |
134 | | - |
135 | | - <!-- Maven Compiler Plugin - Suppress annotation processing warnings --> |
136 | | - <plugin> |
137 | | - <groupId>org.apache.maven.plugins</groupId> |
138 | | - <artifactId>maven-compiler-plugin</artifactId> |
139 | | - <configuration> |
140 | 133 | <compilerArgs> |
141 | 134 | <arg>-Xlint:-options</arg> |
142 | 135 | </compilerArgs> |
|
0 commit comments