Fix compile on java 11.

This commit is contained in:
benwoo1110 2021-02-24 16:40:21 +08:00
parent c3ae5ac210
commit a91f377cf5

10
pom.xml
View File

@ -215,7 +215,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version> <version>3.2.4</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
@ -264,13 +264,19 @@
<plugin> <plugin>
<groupId>se.eris</groupId> <groupId>se.eris</groupId>
<artifactId>notnull-instrumenter-maven-plugin</artifactId> <artifactId>notnull-instrumenter-maven-plugin</artifactId>
<version>0.6.8</version> <version>1.0.0</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>instrument</goal> <goal>instrument</goal>
<goal>tests-instrument</goal> <goal>tests-instrument</goal>
</goals> </goals>
<configuration>
<notNull>
<param>org.jetbrains.annotations.NotNull</param>
<param>javax.validation.constraints.NotNull</param>
</notNull>
</configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>