|
361 | 361 | </execution> |
362 | 362 | </executions> |
363 | 363 | <configuration> |
364 | | - <source>${jdk.version}</source> |
| 364 | + <release>${jdk.version}</release> |
365 | 365 | <failOnError>true</failOnError> |
366 | 366 | <failOnWarnings>false</failOnWarnings> |
367 | 367 | <additionalOptions>${maven.javadoc.additionalOptions}</additionalOptions> |
|
519 | 519 | </execution> |
520 | 520 | </executions> |
521 | 521 | </plugin> |
522 | | -<!-- <plugin>--> |
523 | | -<!-- <groupId>org.apache.maven.plugins</groupId>--> |
524 | | -<!-- <artifactId>maven-compiler-plugin</artifactId>--> |
525 | | -<!-- <version>${maven.compiler.version}</version>--> |
526 | | -<!-- <executions>--> |
527 | | -<!-- <execution>--> |
528 | | -<!-- <id>default-compile</id>--> |
529 | | -<!-- <configuration>--> |
530 | | -<!-- <release>9</release>--> |
531 | | -<!-- <!– no excludes: compile everything to ensure module-info contains right entries –>--> |
532 | | -<!-- </configuration>--> |
533 | | -<!-- </execution>--> |
534 | | -<!-- <execution>--> |
535 | | -<!-- <id>base-compile</id>--> |
536 | | -<!-- <goals>--> |
537 | | -<!-- <goal>compile</goal>--> |
538 | | -<!-- </goals>--> |
539 | | -<!-- <configuration>--> |
540 | | -<!-- <!– recompile everything for target VM except the module-info.java –>--> |
541 | | -<!-- <excludes>--> |
542 | | -<!-- <exclude>module-info.java</exclude>--> |
543 | | -<!-- </excludes>--> |
544 | | -<!-- </configuration>--> |
545 | | -<!-- </execution>--> |
546 | | -<!-- </executions>--> |
547 | | -<!-- <!– defaults for compile and testCompile –>--> |
548 | | -<!-- <configuration>--> |
549 | | -<!-- <release>${jdk.version}</release>--> |
550 | | -<!--<!– <!– Only required when Maven runtime JAVA_HOME isn't at least Java 9 and when haven't configured the maven-toolchains-plugin –>–>--> |
551 | | -<!--<!– <jdkToolchain>–>--> |
552 | | -<!--<!– <version>9</version>–>--> |
553 | | -<!--<!– </jdkToolchain>–>--> |
554 | | -<!-- </configuration>--> |
555 | | -<!-- </plugin>--> |
556 | 522 | <plugin> |
557 | 523 | <groupId>org.apache.maven.plugins</groupId> |
558 | 524 | <artifactId>maven-compiler-plugin</artifactId> |
559 | 525 | <version>${maven.compiler.version}</version> |
560 | 526 | <configuration> |
561 | | - <source>${jdk.version}</source> |
562 | | - <target>${jdk.version}</target> |
563 | 527 | <release>${jdk.version}</release> |
564 | 528 | <encoding>${project.build.sourceEncoding}</encoding> |
565 | 529 | </configuration> |
|
0 commit comments