pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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-sdk</artifactId>
  15. <dependencies>
  16. <!-- webSocket web端 消息推送 -->
  17. <!-- <dependency>-->
  18. <!-- <groupId>org.springframework.boot</groupId>-->
  19. <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
  20. <!-- </dependency>-->
  21. <!-- <dependency>-->
  22. <!-- <groupId>org.springframework.boot</groupId>-->
  23. <!-- <artifactId>spring-boot-starter-websocket</artifactId>-->
  24. <!-- </dependency>-->
  25. <!-- &lt;!&ndash; 极光推送 &ndash;&gt;-->
  26. <!-- <dependency>-->
  27. <!-- <groupId>cn.jpush.api</groupId>-->
  28. <!-- <artifactId>jpush-client</artifactId>-->
  29. <!-- <version>3.3.8</version>-->
  30. <!-- </dependency>-->
  31. <!-- <dependency>-->
  32. <!-- <groupId>cn.jpush.api</groupId>-->
  33. <!-- <artifactId>jmessage-client</artifactId>-->
  34. <!-- <version>1.1.8</version>-->
  35. <!-- </dependency>-->
  36. <!-- <dependency>-->
  37. <!-- <groupId>cn.jpush.api</groupId>-->
  38. <!-- <artifactId>jiguang-common</artifactId>-->
  39. <!-- <version>1.1.3</version>-->
  40. <!-- </dependency>-->
  41. <!-- <dependency>-->
  42. <!-- <groupId>io.netty</groupId>-->
  43. <!-- <artifactId>netty-all</artifactId>-->
  44. <!-- <version>4.1.6.Final</version>-->
  45. <!-- <scope>compile</scope>-->
  46. <!-- </dependency>-->
  47. <!--lombok -->
  48. <dependency>
  49. <groupId>org.projectlombok</groupId>
  50. <artifactId>lombok</artifactId>
  51. <version>1.16.18</version>
  52. </dependency>
  53. <!-- SpringBoot Web容器 -->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. </dependency>
  58. <!-- Mysql驱动包 -->
  59. <dependency>
  60. <groupId>mysql</groupId>
  61. <artifactId>mysql-connector-java</artifactId>
  62. </dependency>
  63. <!-- 阿里数据库连接池 -->
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. <version>1.2.15</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>cn.hutool</groupId>
  71. <artifactId>hutool-all</artifactId>
  72. <version>5.8.26</version>
  73. </dependency>
  74. <!-- 业务代码-->
  75. <dependency>
  76. <groupId>com.ozs</groupId>
  77. <artifactId>business-service</artifactId>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-security</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. <version>2.1.1.RELEASE</version>
  92. <configuration>
  93. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <goals>
  98. <goal>repackage</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-war-plugin</artifactId>
  106. <version>3.1.0</version>
  107. <configuration>
  108. <failOnMissingWebXml>false</failOnMissingWebXml>
  109. <warName>${project.artifactId}</warName>
  110. </configuration>
  111. </plugin>
  112. </plugins>
  113. <finalName>${project.artifactId}</finalName>
  114. </build>
  115. </project>