pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. <!-- swagger3-->
  68. <!-- <dependency>-->
  69. <!-- <groupId>io.springfox</groupId>-->
  70. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  71. <!-- </dependency>-->
  72. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  73. <dependency>
  74. <groupId>io.swagger</groupId>
  75. <artifactId>swagger-models</artifactId>
  76. <version>1.6.2</version>
  77. </dependency>
  78. <!-- Mysql驱动包 -->
  79. <dependency>
  80. <groupId>mysql</groupId>
  81. <artifactId>mysql-connector-java</artifactId>
  82. </dependency>
  83. <!-- 核心模块-->
  84. <dependency>
  85. <groupId>com.ozs</groupId>
  86. <artifactId>base-framework</artifactId>
  87. </dependency>
  88. <!-- 定时任务-->
  89. <dependency>
  90. <groupId>com.ozs</groupId>
  91. <artifactId>base-quartz</artifactId>
  92. </dependency>
  93. <!-- 代码生成-->
  94. <dependency>
  95. <groupId>com.ozs</groupId>
  96. <artifactId>base-generator</artifactId>
  97. </dependency>
  98. <!-- 业务代码-->
  99. <dependency>
  100. <groupId>com.ozs</groupId>
  101. <artifactId>business-service</artifactId>
  102. <exclusions>
  103. <exclusion>
  104. <artifactId>mybatis-plus-extension</artifactId>
  105. <groupId>com.baomidou</groupId>
  106. </exclusion>
  107. </exclusions>
  108. </dependency>
  109. </dependencies>
  110. <build>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-maven-plugin</artifactId>
  115. <version>2.1.1.RELEASE</version>
  116. <configuration>
  117. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  118. </configuration>
  119. <executions>
  120. <execution>
  121. <goals>
  122. <goal>repackage</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-war-plugin</artifactId>
  130. <version>3.1.0</version>
  131. <configuration>
  132. <failOnMissingWebXml>false</failOnMissingWebXml>
  133. <warName>${project.artifactId}</warName>
  134. </configuration>
  135. </plugin>
  136. </plugins>
  137. <finalName>${project.artifactId}</finalName>
  138. </build>
  139. </project>