pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.persagy</groupId>
  12. <artifactId>zkt-project-alarm</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>zkt-project-alarm</name>
  15. <description>project alarm program</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <protostuff.version>1.0.10</protostuff.version>
  21. <objenesis.version>2.4</objenesis.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <!-- swagger -->
  33. <dependency>
  34. <groupId>com.github.xiaoymin</groupId>
  35. <artifactId>knife4j-spring-boot-starter</artifactId>
  36. <!--在引用时请在maven中央仓库搜索最新版本号 -->
  37. <version>2.0.2</version>
  38. </dependency>
  39. <!--guava-->
  40. <dependency>
  41. <groupId>com.google.guava</groupId>
  42. <artifactId>guava</artifactId>
  43. <version>20.0</version>
  44. </dependency>
  45. <!--lombok-->
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. <optional>true</optional>
  50. </dependency>
  51. <!-- 数学逻辑运算解析库-->
  52. <dependency>
  53. <groupId>com.googlecode.aviator</groupId>
  54. <artifactId>aviator</artifactId>
  55. <version>5.1.4</version>
  56. </dependency>
  57. <!-- netty -->
  58. <dependency>
  59. <groupId>io.netty</groupId>
  60. <artifactId>netty-all</artifactId>
  61. <version>4.1.62.Final</version>
  62. </dependency>
  63. <!--测试工具-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <scope>test</scope>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>org.junit.vintage</groupId>
  71. <artifactId>junit-vintage-engine</artifactId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <!--WebSocket核心依赖包-->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-websocket</artifactId>
  79. </dependency>
  80. <!--WebSocket核心依赖包-->
  81. <dependency>
  82. <groupId>org.java-websocket</groupId>
  83. <artifactId>Java-WebSocket</artifactId>
  84. <version>1.3.8</version>
  85. </dependency>
  86. <!-- <dependency>-->
  87. <!-- <groupId>junit</groupId>-->
  88. <!-- <artifactId>junit</artifactId>-->
  89. <!-- </dependency>-->
  90. <!-- commons-lang3常用工具类-->
  91. <dependency>
  92. <groupId>org.apache.commons</groupId>
  93. <artifactId>commons-lang3</artifactId>
  94. </dependency>
  95. <!--fastjson JSON组件-->
  96. <dependency>
  97. <groupId>com.alibaba</groupId>
  98. <artifactId>fastjson</artifactId>
  99. <version>1.2.71</version>
  100. <scope>compile</scope>
  101. </dependency>
  102. <!--hutool工具类-->
  103. <dependency>
  104. <groupId>cn.hutool</groupId>
  105. <artifactId>hutool-all</artifactId>
  106. <version>5.4.3</version>
  107. <scope>compile</scope>
  108. </dependency>
  109. <!--定时任务框架-->
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-quartz</artifactId>
  113. </dependency>
  114. <!-- MYSQL-->
  115. <dependency>
  116. <groupId>mysql</groupId>
  117. <artifactId>mysql-connector-java</artifactId>
  118. <scope>runtime</scope>
  119. </dependency>
  120. <!-- Spring Boot JDBC-->
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-jdbc</artifactId>
  124. </dependency>
  125. <!-- 数据库连接池-->
  126. <dependency>
  127. <groupId>com.alibaba</groupId>
  128. <artifactId>druid-spring-boot-starter</artifactId>
  129. <version>1.1.22</version>
  130. </dependency>
  131. <!-- spring-data-jpa -->
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-data-jpa</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-aop</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.github.dadiyang</groupId>
  142. <artifactId>autologging-aop</artifactId>
  143. <version>1.0.0</version>
  144. </dependency>
  145. <!-- Protostuff -->
  146. <dependency>
  147. <groupId>com.dyuproject.protostuff</groupId>
  148. <artifactId>protostuff-core</artifactId>
  149. <version>${protostuff.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.dyuproject.protostuff</groupId>
  153. <artifactId>protostuff-runtime</artifactId>
  154. <version>${protostuff.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.objenesis</groupId>
  158. <artifactId>objenesis</artifactId>
  159. <version>${objenesis.version}</version>
  160. </dependency>
  161. </dependencies>
  162. <build>
  163. <finalName>${project.artifactId}</finalName>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-compiler-plugin</artifactId>
  168. <version>3.8.1</version>
  169. <configuration>
  170. <source>1.8</source>
  171. <target>1.8</target>
  172. <encoding>UTF-8</encoding>
  173. <skip>true</skip>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-maven-plugin</artifactId>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </project>