pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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.zkqy</groupId>
  51. <artifactId>zkqy-framework</artifactId>
  52. <version>3.8.5</version>
  53. </dependency>
  54. <!--业务模块-->
  55. <dependency>
  56. <groupId>com.zkqy</groupId>
  57. <artifactId>zkqy-business</artifactId>
  58. <version>3.8.5</version>
  59. </dependency>
  60. <!--业务模块-->
  61. <dependency>
  62. <groupId>com.zkqy</groupId>
  63. <artifactId>zkqy-custom-business</artifactId>
  64. <version>3.8.5</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.zkqy</groupId>
  68. <artifactId>zkqy-common</artifactId>
  69. <version>3.8.5</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.zkqy</groupId>
  73. <artifactId>zkqy-laboratory-information</artifactId>
  74. <version>3.8.5</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.zkqy</groupId>
  78. <artifactId>zkqy-fujian-amichi</artifactId>
  79. <version>3.8.5</version>
  80. </dependency>
  81. <!--谷歌的JSON转换工具GSON-->
  82. <dependency>
  83. <groupId>com.google.code.gson</groupId>
  84. <artifactId>gson</artifactId>
  85. <version>2.10.1</version>
  86. <scope>compile</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-actuator</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-test</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.junit.jupiter</groupId>
  99. <artifactId>junit-jupiter</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework</groupId>
  104. <artifactId>spring-test</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>junit</groupId>
  109. <artifactId>junit</artifactId>
  110. </dependency>
  111. </dependencies>
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <version>2.1.1.RELEASE</version>
  118. <configuration>
  119. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  120. </configuration>
  121. <executions>
  122. <execution>
  123. <goals>
  124. <goal>repackage</goal>
  125. </goals>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-compiler-plugin</artifactId>
  132. <version>3.1</version>
  133. <configuration>
  134. <fork>true</fork>
  135. <meminitial>512m</meminitial>
  136. <!-- 设置最大内存 -->
  137. <maxmem>4096m</maxmem>
  138. </configuration>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-war-plugin</artifactId>
  143. <version>3.1.0</version>
  144. <configuration>
  145. <failOnMissingWebXml>false</failOnMissingWebXml>
  146. <warName>${project.artifactId}</warName>
  147. </configuration>
  148. </plugin>
  149. </plugins>
  150. <finalName>${project.artifactId}</finalName>
  151. </build>
  152. </project>