pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. </dependencies>
  99. <build>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-maven-plugin</artifactId>
  104. <version>2.1.1.RELEASE</version>
  105. <configuration>
  106. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  107. </configuration>
  108. <executions>
  109. <execution>
  110. <goals>
  111. <goal>repackage</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-war-plugin</artifactId>
  119. <version>3.1.0</version>
  120. <configuration>
  121. <failOnMissingWebXml>false</failOnMissingWebXml>
  122. <warName>${project.artifactId}</warName>
  123. </configuration>
  124. </plugin>
  125. </plugins>
  126. <finalName>${project.artifactId}</finalName>
  127. </build>
  128. </project>