pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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>GeoHazardMonitor</artifactId>
  7. <groupId>com.ozs</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <packaging>jar</packaging>
  13. <version>1.0-SNAPSHOT</version>
  14. <artifactId>hazard-admin</artifactId>
  15. <description>
  16. web服务入口
  17. </description>
  18. <dependencies>
  19. <!-- webSocket web端 消息推送 -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-websocket</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.bytedeco</groupId>
  30. <artifactId>javacv</artifactId>
  31. <version>1.5.6</version>
  32. </dependency>
  33. <!-- 极光推送 -->
  34. <dependency>
  35. <groupId>cn.jpush.api</groupId>
  36. <artifactId>jpush-client</artifactId>
  37. <version>3.3.8</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>cn.jpush.api</groupId>
  41. <artifactId>jmessage-client</artifactId>
  42. <version>1.1.8</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>cn.jpush.api</groupId>
  46. <artifactId>jiguang-common</artifactId>
  47. <version>1.1.3</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-test</artifactId>
  52. <scope>test</scope>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>org.junit.vintage</groupId>
  56. <artifactId>junit-vintage-engine</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <!--lombok -->
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. <version>1.18.14</version>
  65. </dependency>
  66. <!-- spring-boot-devtools -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-devtools</artifactId>
  70. <optional>true</optional> <!-- 表示依赖不会传递 -->
  71. </dependency>
  72. <!-- Mysql驱动包 -->
  73. <dependency>
  74. <groupId>mysql</groupId>
  75. <artifactId>mysql-connector-java</artifactId>
  76. </dependency>
  77. <!-- 核心模块-->
  78. <dependency>
  79. <groupId>com.ozs</groupId>
  80. <artifactId>base-framework</artifactId>
  81. </dependency>
  82. <!-- 定时任务-->
  83. <dependency>
  84. <groupId>com.ozs</groupId>
  85. <artifactId>base-quartz</artifactId>
  86. </dependency>
  87. <!-- 代码生成-->
  88. <dependency>
  89. <groupId>com.ozs</groupId>
  90. <artifactId>base-generator</artifactId>
  91. </dependency>
  92. <!-- 业务代码-->
  93. <dependency>
  94. <groupId>com.ozs</groupId>
  95. <artifactId>business-service</artifactId>
  96. <exclusions>
  97. <exclusion>
  98. <artifactId>mybatis-plus-extension</artifactId>
  99. <groupId>com.baomidou</groupId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.jcraft</groupId>
  105. <artifactId>jsch</artifactId>
  106. <version>0.1.55</version> <!-- 根据当前最新版本选择合适的版本号 -->
  107. </dependency>
  108. <dependency>
  109. <groupId>cn.hutool</groupId>
  110. <artifactId>hutool-all</artifactId>
  111. <version>5.8.26</version>
  112. </dependency>
  113. </dependencies>
  114. <build>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. <version>2.1.1.RELEASE</version>
  120. <configuration>
  121. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  122. </configuration>
  123. <executions>
  124. <execution>
  125. <goals>
  126. <goal>repackage</goal>
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-war-plugin</artifactId>
  134. <version>3.1.0</version>
  135. <configuration>
  136. <failOnMissingWebXml>false</failOnMissingWebXml>
  137. <warName>${project.artifactId}</warName>
  138. </configuration>
  139. </plugin>
  140. </plugins>
  141. <finalName>${project.artifactId}</finalName>
  142. </build>
  143. </project>