pom.xml 5.0 KB

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