兼容JDK9+的环境进行maven编译打包

This commit is contained in:
Kit 2019-11-22 16:10:56 +08:00
parent f4989813e5
commit 3bb6250385
2 changed files with 14 additions and 0 deletions

View File

@ -76,5 +76,12 @@
<artifactId>bcprov-jdk16</artifactId> <artifactId>bcprov-jdk16</artifactId>
<version>1.46</version> <version>1.46</version>
</dependency> </dependency>
<!-- 兼容 JDK 9+ 后的maven环境编译 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.11</version>
<scope>provided</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -39,6 +39,13 @@
<artifactId>weixin4j-base</artifactId> <artifactId>weixin4j-base</artifactId>
<version>1.9.0-SNAPSHOT</version> <version>1.9.0-SNAPSHOT</version>
</dependency> </dependency>
<!-- 兼容 JDK 9+ 后的maven环境编译 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.11</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>