pom.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. <version>${ip2region.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  43. </dependency>
  44. <!-- Test 测试相关 -->
  45. <dependency>
  46. <groupId>cn.iocoder.boot</groupId>
  47. <artifactId>yudao-spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. </dependencies>
  51. </project>