pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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-dev</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. </modules>
  29. <!--属性配置+统一版本管理-->
  30. <properties>
  31. <maven.compiler.source>1.8</maven.compiler.source>
  32. <maven.compiler.target>1.8</maven.compiler.target>
  33. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  34. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  35. <project.version>1.0.0-dev</project.version>
  36. <java.version>1.8</java.version>
  37. <gbase.version>1.0.5</gbase.version>
  38. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  39. <mybatis.spring.version>2.0.1</mybatis.spring.version>
  40. <postgresql.version>42.2.5</postgresql.version>
  41. <common.text.version>1.14.0</common.text.version>
  42. <jjwt.version>0.9.0</jjwt.version>
  43. <okhttp.version>3.14.9</okhttp.version>
  44. </properties>
  45. <!--依赖项-->
  46. <dependencies>
  47. <!--spring-web-->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. </dependency>
  52. <!--spring-thymeleaf-->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  56. </dependency>
  57. <!--spring-test-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. </dependency>
  62. <!--commons-->
  63. <dependency>
  64. <groupId>org.apache.commons</groupId>
  65. <artifactId>commons-lang3</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.commons</groupId>
  69. <artifactId>commons-text</artifactId>
  70. <version>${common.text.version}</version>
  71. </dependency>
  72. <!--lombok-->
  73. <dependency>
  74. <groupId>org.projectlombok</groupId>
  75. <artifactId>lombok</artifactId>
  76. <scope>provided</scope>
  77. </dependency>
  78. </dependencies>
  79. <!--仓库-->
  80. <repositories>
  81. <!--阿里中央-->
  82. <repository>
  83. <id>central</id>
  84. <url>https://maven.aliyun.com/repository/central</url>
  85. <releases>
  86. <enabled>true</enabled>
  87. </releases>
  88. </repository>
  89. </repositories>
  90. <!--依赖控制-->
  91. <dependencyManagement>
  92. <dependencies>
  93. <!--spring依赖控制-->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-dependencies</artifactId>
  97. <version>${spring.boot.version}</version>
  98. <type>pom</type>
  99. <scope>import</scope>
  100. </dependency>
  101. </dependencies>
  102. </dependencyManagement>
  103. </project>