<?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">
|
<parent>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-framework</artifactId>
|
<version>${revision}</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
<artifactId>iailab-common-biz-ip</artifactId>
|
<packaging>jar</packaging>
|
|
<name>${project.artifactId}</name>
|
<description>IP 拓展,支持如下功能:
|
1. IP 功能:查询 IP 对应的城市信息
|
基于 https://gitee.com/lionsoul/ip2region 实现
|
2. 城市功能:查询城市编码对应的城市信息
|
基于 https://github.com/modood/Administrative-divisions-of-China 实现
|
</description>
|
<url>http://172.16.8.100:8888/summary/iailab-plat.git</url>
|
|
<dependencies>
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common</artifactId>
|
</dependency>
|
|
<!-- IP地址检索 -->
|
<dependency>
|
<groupId>org.lionsoul</groupId>
|
<artifactId>ip2region</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-api</artifactId>
|
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
</dependency>
|
|
<!-- Test 测试相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
<version>3.3.0</version>
|
<executions>
|
<execution>
|
<phase>package</phase>
|
<goals>
|
<goal>single</goal>
|
</goals>
|
</execution>
|
</executions>
|
<configuration>
|
<descriptorRefs>
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
</descriptorRefs>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|