pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>zkqy</artifactId>
  7. <groupId>com.zkqy</groupId>
  8. <version>3.8.5</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>zkqy-admin</artifactId>
  13. <name>zkqy-admin</name>
  14. <description>
  15. web服务入口
  16. </description>
  17. <dependencies>
  18. <!-- spring-boot-devtools -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-devtools</artifactId>
  22. <optional>true</optional> <!-- 表示依赖不会传递 -->
  23. </dependency>
  24. <!-- swagger3-->
  25. <dependency>
  26. <groupId>io.springfox</groupId>
  27. <artifactId>springfox-boot-starter</artifactId>
  28. </dependency>
  29. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  30. <dependency>
  31. <groupId>io.swagger</groupId>
  32. <artifactId>swagger-models</artifactId>
  33. <version>1.6.2</version>
  34. </dependency>
  35. <!-- Mysql驱动包 -->
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. </dependency>
  40. <!-- 达梦驱动包 -->
  41. <dependency>
  42. <groupId>com.dm</groupId>
  43. <artifactId>DmJdbcDriver18</artifactId>
  44. <version>1.8</version>
  45. <scope>system</scope>
  46. <systemPath>${project.basedir}/src/main/resources/lib/DmJdbcDriver18.jar</systemPath>
  47. </dependency>
  48. <!-- 达梦驱动包 -->
  49. <dependency>
  50. <groupId>com.kingdee.bos</groupId>
  51. <artifactId>webapi</artifactId>
  52. <version>1.8</version>
  53. <scope>system</scope>
  54. <systemPath>${project.basedir}/src/main/resources/lib/k3cloud-webapi-sdk8.0.6.jar</systemPath>
  55. </dependency>
  56. <!-- 核心模块-->
  57. <dependency>
  58. <groupId>com.zkqy</groupId>
  59. <artifactId>zkqy-framework</artifactId>
  60. <version>3.8.5</version>
  61. </dependency>
  62. <!--业务模块-->
  63. <dependency>
  64. <groupId>com.zkqy</groupId>
  65. <artifactId>zkqy-business</artifactId>
  66. <version>3.8.5</version>
  67. </dependency>
  68. <!--业务模块-->
  69. <dependency>
  70. <groupId>com.zkqy</groupId>
  71. <artifactId>zkqy-custom-business</artifactId>
  72. <version>3.8.5</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.zkqy</groupId>
  76. <artifactId>zkqy-common</artifactId>
  77. <version>3.8.5</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.zkqy</groupId>
  81. <artifactId>zkqy-laboratory-information</artifactId>
  82. <version>3.8.5</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.zkqy</groupId>
  86. <artifactId>zkqy-fujian-amichi</artifactId>
  87. <version>3.8.5</version>
  88. </dependency>
  89. <!--谷歌的JSON转换工具GSON-->
  90. <dependency>
  91. <groupId>com.google.code.gson</groupId>
  92. <artifactId>gson</artifactId>
  93. <version>2.10.1</version>
  94. <scope>compile</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-actuator</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-test</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.junit.jupiter</groupId>
  107. <artifactId>junit-jupiter</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-test</artifactId>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>junit</groupId>
  117. <artifactId>junit</artifactId>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-maven-plugin</artifactId>
  125. <version>2.1.1.RELEASE</version>
  126. <configuration>
  127. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  128. </configuration>
  129. <executions>
  130. <execution>
  131. <goals>
  132. <goal>repackage</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-compiler-plugin</artifactId>
  140. <version>3.1</version>
  141. <configuration>
  142. <fork>true</fork>
  143. <meminitial>512m</meminitial>
  144. <!-- 设置最大内存 -->
  145. <maxmem>4096m</maxmem>
  146. </configuration>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-war-plugin</artifactId>
  151. <version>3.1.0</version>
  152. <configuration>
  153. <failOnMissingWebXml>false</failOnMissingWebXml>
  154. <warName>${project.artifactId}</warName>
  155. </configuration>
  156. </plugin>
  157. </plugins>
  158. <finalName>${project.artifactId}</finalName>
  159. </build>
  160. </project>