|
134 | 134 | <plugin> |
135 | 135 | <groupId>org.apache.maven.plugins</groupId> |
136 | 136 | <artifactId>maven-compiler-plugin</artifactId> |
137 | | - <executions> |
138 | | - <execution> |
139 | | - <id>default-compile</id> |
140 | | - <goals> |
141 | | - <goal>compile</goal> |
142 | | - </goals> |
143 | | - </execution> |
144 | | - </executions> |
145 | 137 | <configuration> |
| 138 | + <compilerArgs> |
| 139 | + <arg>-Xlint:-path</arg> |
| 140 | + </compilerArgs> |
146 | 141 | <annotationProcessorPaths> |
147 | 142 | <path> |
148 | 143 | <groupId>io.helidon.common.features</groupId> |
149 | 144 | <artifactId>helidon-common-features-codegen</artifactId> |
150 | 145 | <version>${helidon.version}</version> |
151 | 146 | </path> |
| 147 | + <path> |
| 148 | + <groupId>io.micronaut</groupId> |
| 149 | + <artifactId>micronaut-inject-java</artifactId> |
| 150 | + <version>${version.lib.micronaut}</version> |
| 151 | + </path> |
| 152 | + <path> |
| 153 | + <groupId>io.micronaut</groupId> |
| 154 | + <artifactId>micronaut-core-processor</artifactId> |
| 155 | + <version>${version.lib.micronaut}</version> |
| 156 | + </path> |
| 157 | + <path> |
| 158 | + <groupId>io.micronaut.validation</groupId> |
| 159 | + <artifactId>micronaut-validation-processor</artifactId> |
| 160 | + <version>${version.lib.micronaut.validation}</version> |
| 161 | + </path> |
| 162 | + <path> |
| 163 | + <groupId>io.micronaut.data</groupId> |
| 164 | + <artifactId>micronaut-data-processor</artifactId> |
| 165 | + <version>${version.lib.micronaut.data}</version> |
| 166 | + </path> |
| 167 | + <path> |
| 168 | + <groupId>io.helidon.integrations.micronaut</groupId> |
| 169 | + <artifactId>helidon-integrations-micronaut-cdi-processor</artifactId> |
| 170 | + <version>${helidon.version}</version> |
| 171 | + </path> |
152 | 172 | </annotationProcessorPaths> |
153 | 173 | </configuration> |
154 | 174 | </plugin> |
155 | 175 | </plugins> |
156 | 176 | </build> |
157 | | - |
158 | | - <profiles> |
159 | | - <profile> |
160 | | - <!-- This fails on Java 24, until we resolve the problem, just limit to 21 --> |
161 | | - <id>java-21</id> |
162 | | - <activation> |
163 | | - <jdk>21</jdk> |
164 | | - </activation> |
165 | | - <build> |
166 | | - <plugins> |
167 | | - <plugin> |
168 | | - <groupId>org.apache.maven.plugins</groupId> |
169 | | - <artifactId>maven-compiler-plugin</artifactId> |
170 | | - <executions> |
171 | | - <execution> |
172 | | - <id>default-testCompile</id> |
173 | | - <goals> |
174 | | - <goal>testCompile</goal> |
175 | | - </goals> |
176 | | - <configuration> |
177 | | - <forceJavacCompilerUse>true</forceJavacCompilerUse> |
178 | | - <annotationProcessorPaths> |
179 | | - <path> |
180 | | - <groupId>io.micronaut</groupId> |
181 | | - <artifactId>micronaut-inject-java</artifactId> |
182 | | - <version>${version.lib.micronaut}</version> |
183 | | - </path> |
184 | | - <path> |
185 | | - <groupId>io.micronaut</groupId> |
186 | | - <artifactId>micronaut-core-processor</artifactId> |
187 | | - <version>${version.lib.micronaut}</version> |
188 | | - </path> |
189 | | - <path> |
190 | | - <groupId>io.micronaut.validation</groupId> |
191 | | - <artifactId>micronaut-validation-processor</artifactId> |
192 | | - <version>${version.lib.micronaut.validation}</version> |
193 | | - </path> |
194 | | - <path> |
195 | | - <groupId>io.micronaut.data</groupId> |
196 | | - <artifactId>micronaut-data-processor</artifactId> |
197 | | - <version>${version.lib.micronaut.data}</version> |
198 | | - </path> |
199 | | - <path> |
200 | | - <groupId>io.helidon.integrations.micronaut</groupId> |
201 | | - <artifactId>helidon-integrations-micronaut-cdi-processor</artifactId> |
202 | | - <version>${helidon.version}</version> |
203 | | - </path> |
204 | | - </annotationProcessorPaths> |
205 | | - </configuration> |
206 | | - </execution> |
207 | | - </executions> |
208 | | - </plugin> |
209 | | - </plugins> |
210 | | - </build> |
211 | | - </profile> |
212 | | - <profile> |
213 | | - <!-- Disable tests on Java 24, until we resolve the problem --> |
214 | | - <id>not-java-21</id> |
215 | | - <activation> |
216 | | - <jdk>!21</jdk> |
217 | | - </activation> |
218 | | - <properties> |
219 | | - <skipTests>true</skipTests> |
220 | | - </properties> |
221 | | - </profile> |
222 | | - </profiles> |
223 | 177 | </project> |
0 commit comments