pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <!--公司组织或名称-->
  5. <groupId>com.shkpr.service</groupId>
  6. <!--工件名-->
  7. <artifactId>kpr-custom-gateway</artifactId>
  8. <!--版本号-->
  9. <version>1.0.0</version>
  10. <!--打包方式-->
  11. <packaging>pom</packaging>
  12. <!--项目名-->
  13. <name>KprCustomGateway</name>
  14. <!--项目描述-->
  15. <description>
  16. 项目定制网关服务,作用于项目定制用
  17. 访问路由前缀为:网关路径/项目名称/项目子路径
  18. 如:/custom-gw/zy-dma/xxx
  19. </description>
  20. <!--子模块-->
  21. <modules>
  22. <!--核心模块-->
  23. <module>custom-gateway-core</module>
  24. <!--启动模块-->
  25. <module>custom-gateway-app</module>
  26. <!--枣阳漏控-->
  27. <module>custom-gateway-zydma</module>
  28. <!--中环数采-->
  29. <module>custom-gateway-zhscada</module>
  30. </modules>
  31. <!--属性配置-->
  32. <properties>
  33. <!--基本属性-->
  34. <maven.compiler.source>1.8</maven.compiler.source>
  35. <maven.compiler.target>1.8</maven.compiler.target>
  36. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  37. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  38. <project.version>1.0.0</project.version>
  39. <java.version>1.8</java.version>
  40. <!--启用模块-->
  41. <enable.module>zydma</enable.module>
  42. <!--版本控制-->
  43. <gbase.version>1.0.5</gbase.version>
  44. <spring.boot.version>2.7.18</spring.boot.version>
  45. <mybatis.spring.version>2.0.1</mybatis.spring.version>
  46. <postgresql.version>42.2.5</postgresql.version>
  47. <common.text.version>1.14.0</common.text.version>
  48. <jjwt.version>0.9.0</jjwt.version>
  49. <okhttp.version>3.14.9</okhttp.version>
  50. <poi.version>3.17</poi.version>
  51. <jts.version>1.19.0</jts.version>
  52. </properties>
  53. <!--依赖项-->
  54. <dependencies>
  55. <!--spring-web-->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-web</artifactId>
  59. </dependency>
  60. <!--spring-thymeleaf-->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  64. </dependency>
  65. <!--spring-test-->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-test</artifactId>
  69. </dependency>
  70. <!--commons-->
  71. <dependency>
  72. <groupId>org.apache.commons</groupId>
  73. <artifactId>commons-lang3</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-codec</groupId>
  77. <artifactId>commons-codec</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.commons</groupId>
  81. <artifactId>commons-text</artifactId>
  82. <version>${common.text.version}</version>
  83. </dependency>
  84. <!--lombok-->
  85. <dependency>
  86. <groupId>org.projectlombok</groupId>
  87. <artifactId>lombok</artifactId>
  88. <scope>provided</scope>
  89. </dependency>
  90. </dependencies>
  91. <!--仓库-->
  92. <repositories>
  93. <!--阿里中央-->
  94. <repository>
  95. <id>central</id>
  96. <url>https://maven.aliyun.com/repository/central</url>
  97. <releases>
  98. <enabled>true</enabled>
  99. </releases>
  100. </repository>
  101. </repositories>
  102. <!--依赖控制-->
  103. <dependencyManagement>
  104. <dependencies>
  105. <!--spring依赖控制-->
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-dependencies</artifactId>
  109. <version>${spring.boot.version}</version>
  110. <type>pom</type>
  111. <scope>import</scope>
  112. </dependency>
  113. </dependencies>
  114. </dependencyManagement>
  115. </project>