File tree 1 file changed +21
-41
lines changed
1 file changed +21
-41
lines changed Original file line number Diff line number Diff line change 171
171
<artifactId >maven-compiler-plugin</artifactId >
172
172
<version >3.8.1</version >
173
173
<configuration >
174
- <source >1.7 </source >
175
- <target >1.7 </target >
174
+ <source >1.8 </source >
175
+ <target >1.8 </target >
176
176
<encoding >UTF-8</encoding >
177
177
<compilerArgument >-Xlint:unchecked</compilerArgument >
178
178
<compilerArgument >-Xlint:deprecation</compilerArgument >
410
410
</execution >
411
411
</executions >
412
412
</plugin >
413
+ <plugin >
414
+ <groupId >org.codehaus.mojo</groupId >
415
+ <artifactId >animal-sniffer-maven-plugin</artifactId >
416
+ <executions >
417
+ <execution >
418
+ <id >java8</id >
419
+ <goals >
420
+ <goal >check</goal >
421
+ </goals >
422
+ <configuration >
423
+ <signature >
424
+ <groupId >org.codehaus.mojo.signature</groupId >
425
+ <artifactId >java18</artifactId >
426
+ <version >1.0</version >
427
+ </signature >
428
+ </configuration >
429
+ </execution >
430
+ </executions >
431
+ </plugin >
413
432
</plugins >
414
433
</build >
415
434
711
730
</reporting >
712
731
</profile >
713
732
714
- <profile >
715
- <id >autovalue-java7</id >
716
- <activation >
717
- <jdk >1.7</jdk >
718
- <file >
719
- <exists >${basedir} /EnableAutoValue.txt</exists >
720
- </file >
721
- </activation >
722
- <properties >
723
- <!--
724
- We need to back pin to 1.4 because it is the last version of auto-value
725
- that was compiled for java 1.7.
726
- -->
727
- <auto-value .version>1.4</auto-value .version>
728
- </properties >
729
- <build >
730
- <plugins >
731
- <plugin >
732
- <artifactId >maven-compiler-plugin</artifactId >
733
- <configuration >
734
- <annotationProcessorPaths >
735
- <path >
736
- <groupId >com.google.auto.value</groupId >
737
- <artifactId >auto-value</artifactId >
738
- <version >${auto-value.version} </version >
739
- </path >
740
- <!--
741
- There is currently no available version of auto-service-annotations
742
- in maven central compiled for java 1.7, so we can't include it here.
743
-
744
- If you're using IntelliJ please use a newer jdk and set the language
745
- level to 1.7 for your dev work.
746
- -->
747
- </annotationProcessorPaths >
748
- </configuration >
749
- </plugin >
750
- </plugins >
751
- </build >
752
- </profile >
753
733
<profile >
754
734
<id >autovalue-java8</id >
755
735
<activation >
You can’t perform that action at this time.
0 commit comments