pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <!-- 业务代码-->
  70. <dependency>
  71. <groupId>com.ozs</groupId>
  72. <artifactId>business-service</artifactId>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-security</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-maven-plugin</artifactId>
  86. <version>2.1.1.RELEASE</version>
  87. <configuration>
  88. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  89. </configuration>
  90. <executions>
  91. <execution>
  92. <goals>
  93. <goal>repackage</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-war-plugin</artifactId>
  101. <version>3.1.0</version>
  102. <configuration>
  103. <failOnMissingWebXml>false</failOnMissingWebXml>
  104. <warName>${project.artifactId}</warName>
  105. </configuration>
  106. </plugin>
  107. </plugins>
  108. <finalName>${project.artifactId}</finalName>
  109. </build>
  110. </project>