7c31719347
Add javax.activation dependencies to pom.xml so it could be built with newer version of JDK starting from 11 which removed the deprecated Java EE and CORBA Modules according to JEP 320 Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
49 lines
1.3 KiB
XML
Executable File
49 lines
1.3 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>apijson.orm</groupId>
|
|
<artifactId>apijson-orm</artifactId>
|
|
<version>4.5.1</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>APIJSONORM</name>
|
|
<description>APIJSON ORM Library</description>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- 1.2.75 会导致编译报错,且忽略错误后启动报错找不到主类 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.74</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
</project>
|