pom.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>cloud-framework</artifactId>
  7. <groupId>com.csitc</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>cloud-spring-boot-starter-biz-ip</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>IP 拓展,支持如下功能:
  15. 1. IP 功能:查询 IP 对应的城市信息
  16. 基于 https://gitee.com/lionsoul/ip2region 实现
  17. 2. 城市功能:查询城市编码对应的城市信息
  18. 基于 https://github.com/modood/Administrative-divisions-of-China 实现
  19. </description>
  20. <properties>
  21. <ip2region.version>2.6.6</ip2region.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>com.csitc</groupId>
  26. <artifactId>cloud-common</artifactId>
  27. </dependency>
  28. <!-- IP地址检索 -->
  29. <dependency>
  30. <groupId>org.lionsoul</groupId>
  31. <artifactId>ip2region</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.slf4j</groupId>
  39. <artifactId>slf4j-api</artifactId>
  40. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  41. </dependency>
  42. <!-- Test 测试相关 -->
  43. <dependency>
  44. <groupId>com.csitc</groupId>
  45. <artifactId>cloud-spring-boot-starter-test</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. </dependencies>
  49. </project>