|
273 | 273 | </plugins>
|
274 | 274 | </build>
|
275 | 275 | <profiles>
|
276 |
| - <profile> |
277 |
| - <id>pre-jdk9</id> |
278 |
| - <activation> |
279 |
| - <jdk>1.8</jdk> |
280 |
| - </activation> |
281 |
| - <build> |
282 |
| - <plugins> |
283 |
| - <plugin> |
284 |
| - <groupId>org.codehaus.mojo</groupId> |
285 |
| - <artifactId>jaxb2-maven-plugin</artifactId> |
286 |
| - <executions> |
287 |
| - <execution> |
288 |
| - <goals> |
289 |
| - <goal>xjc</goal> |
290 |
| - </goals> |
291 |
| - </execution> |
292 |
| - </executions> |
293 |
| - <configuration> |
294 |
| - <packageName>org.hibernate.validator.internal.xml.binding</packageName> |
295 |
| - <extension>true</extension> |
296 |
| - <!-- Generate correct getters for Boolean properties --> |
297 |
| - <enableIntrospection>true</enableIntrospection> |
298 |
| - <!-- Makes sure the generated code is compatible with JAXB 2.1 which is what comes with Java 1.6 --> |
299 |
| - <target>2.1</target> |
300 |
| - <sources> |
301 |
| - <source>src/main/xsd/validation-configuration-2.0.xsd</source> |
302 |
| - <source>src/main/xsd/validation-mapping-2.0.xsd</source> |
303 |
| - </sources> |
304 |
| - </configuration> |
305 |
| - </plugin> |
306 |
| - </plugins> |
307 |
| - </build> |
308 |
| - </profile> |
309 | 276 | <profile>
|
310 | 277 | <id>jdk9</id>
|
311 | 278 | <activation>
|
|
314 | 281 | <properties>
|
315 | 282 | <maven-surefire-plugin.argLine>--illegal-access=deny</maven-surefire-plugin.argLine>
|
316 | 283 | </properties>
|
317 |
| - <build> |
318 |
| - <plugins> |
319 |
| - <plugin> |
320 |
| - <groupId>org.apache.maven.plugins</groupId> |
321 |
| - <artifactId>maven-antrun-plugin</artifactId> |
322 |
| - <executions> |
323 |
| - <execution> |
324 |
| - <phase>generate-sources</phase> |
325 |
| - <configuration> |
326 |
| - <tasks> |
327 |
| - <echo message="Creating target/generated-sources/jaxb"/> |
328 |
| - <mkdir dir="./target/generated-sources/jaxb"/> |
329 |
| - </tasks> |
330 |
| - </configuration> |
331 |
| - <goals> |
332 |
| - <goal>run</goal> |
333 |
| - </goals> |
334 |
| - </execution> |
335 |
| - </executions> |
336 |
| - </plugin> |
337 |
| - <plugin> |
338 |
| - <groupId>org.codehaus.mojo</groupId> |
339 |
| - <artifactId>exec-maven-plugin</artifactId> |
340 |
| - <executions> |
341 |
| - <execution> |
342 |
| - <id>generate schema types</id> |
343 |
| - <phase>generate-sources</phase> |
344 |
| - <goals> |
345 |
| - <goal>exec</goal> |
346 |
| - </goals> |
347 |
| - </execution> |
348 |
| - </executions> |
349 |
| - <configuration> |
350 |
| - <executable>xjc</executable> |
351 |
| - <arguments> |
352 |
| - <argument>-enableIntrospection</argument> |
353 |
| - <argument>-p</argument> |
354 |
| - <argument>org.hibernate.validator.internal.xml.binding</argument> |
355 |
| - <argument>-extension</argument> |
356 |
| - <argument>-target</argument> |
357 |
| - <argument>2.1</argument> |
358 |
| - <argument>-d</argument> |
359 |
| - <argument>target/generated-sources/jaxb</argument> |
360 |
| - <argument>src/main/xsd/validation-configuration-2.0.xsd</argument> |
361 |
| - <argument>src/main/xsd/validation-mapping-2.0.xsd</argument> |
362 |
| - <argument>-b</argument> |
363 |
| - <argument>src/main/xjb/binding-customization.xjb</argument> |
364 |
| - </arguments> |
365 |
| - </configuration> |
366 |
| - </plugin> |
367 |
| - <plugin> |
368 |
| - <groupId>org.codehaus.mojo</groupId> |
369 |
| - <artifactId>build-helper-maven-plugin</artifactId> |
370 |
| - <executions> |
371 |
| - <execution> |
372 |
| - <id>add-source</id> |
373 |
| - <phase>generate-sources</phase> |
374 |
| - <goals> |
375 |
| - <goal>add-source</goal> |
376 |
| - </goals> |
377 |
| - <configuration> |
378 |
| - <sources> |
379 |
| - <source>target/generated-sources/jaxb</source> |
380 |
| - </sources> |
381 |
| - </configuration> |
382 |
| - </execution> |
383 |
| - </executions> |
384 |
| - </plugin> |
385 |
| - </plugins> |
386 |
| - </build> |
387 | 284 | </profile>
|
388 | 285 | <profile>
|
389 | 286 | <id>sigtest</id>
|
|
0 commit comments