pom.xml 2.0 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>yudao-framework</artifactId>
  7. <groupId>cn.iocoder.boot</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yudao-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. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  21. <properties>
  22. <ip2region.version>2.6.6</ip2region.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>cn.iocoder.boot</groupId>
  27. <artifactId>yudao-common</artifactId>
  28. </dependency>
  29. <!-- IP地址检索 -->
  30. <dependency>
  31. <groupId>org.lionsoul</groupId>
  32. <artifactId>ip2region</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.projectlombok</groupId>
  36. <artifactId>lombok</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.slf4j</groupId>
  40. <artifactId>slf4j-api</artifactId>
  41. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  42. </dependency>
  43. <!-- Test 测试相关 -->
  44. <dependency>
  45. <groupId>cn.iocoder.boot</groupId>
  46. <artifactId>yudao-spring-boot-starter-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. </dependencies>
  50. </project>