97 lines
3.4 KiB
XML
97 lines
3.4 KiB
XML
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||
|
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
|
<parent>
|
|||
|
|
<groupId>nl.sdk</groupId>
|
|||
|
|
<artifactId>sdk-all</artifactId>
|
|||
|
|
<version>0.0.1-SNAPSHOT</version>
|
|||
|
|
</parent>
|
|||
|
|
<groupId>nl.sdk</groupId>
|
|||
|
|
<artifactId>language</artifactId>
|
|||
|
|
<version>0.0.1-SNAPSHOT</version>
|
|||
|
|
<name>language</name>
|
|||
|
|
<description>language SDK</description>
|
|||
|
|
<packaging>jar</packaging>
|
|||
|
|
|
|||
|
|
<properties>
|
|||
|
|
<java.version>8</java.version>
|
|||
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|||
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|||
|
|
<fastjson.version>1.2.83</fastjson.version>
|
|||
|
|
</properties>
|
|||
|
|
|
|||
|
|
<dependencies>
|
|||
|
|
<!-- Spring Boot 依赖使用 provided scope,由使用方提供 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter</artifactId>
|
|||
|
|
<scope>provided</scope>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|||
|
|
<scope>provided</scope>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- FastJSON 使用 compile scope,打包到 SDK 中 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.alibaba</groupId>
|
|||
|
|
<artifactId>fastjson</artifactId>
|
|||
|
|
<version>${fastjson.version}</version>
|
|||
|
|
<scope>compile</scope>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- 测试依赖 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|||
|
|
<scope>test</scope>
|
|||
|
|
</dependency>
|
|||
|
|
</dependencies>
|
|||
|
|
|
|||
|
|
<build>
|
|||
|
|
<plugins>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|||
|
|
<configuration>
|
|||
|
|
<skip>true</skip>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|||
|
|
<version>3.11.0</version>
|
|||
|
|
<configuration>
|
|||
|
|
<source>${java.version}</source>
|
|||
|
|
<target>${java.version}</target>
|
|||
|
|
<encoding>UTF-8</encoding>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|||
|
|
<configuration>
|
|||
|
|
<includes>
|
|||
|
|
<include>org/nl/**</include>
|
|||
|
|
<include>application.properties</include>
|
|||
|
|
<include>language.i18n</include>
|
|||
|
|
<include>**/*.i18n</include>
|
|||
|
|
</includes>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
</plugins>
|
|||
|
|
<!-- 资源文件配置 -->
|
|||
|
|
<resources>
|
|||
|
|
<resource>
|
|||
|
|
<directory>src/main/resources</directory>
|
|||
|
|
<includes>
|
|||
|
|
<include>**/*</include>
|
|||
|
|
</includes>
|
|||
|
|
<filtering>true</filtering>
|
|||
|
|
</resource>
|
|||
|
|
</resources>
|
|||
|
|
</build>
|
|||
|
|
</project>
|