pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>VehicleMonitor</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>vehicle-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. </dependency>
  74. </dependencies>
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <version>2.1.1.RELEASE</version>
  81. <configuration>
  82. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <goals>
  87. <goal>repackage</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-war-plugin</artifactId>
  95. <version>3.1.0</version>
  96. <configuration>
  97. <failOnMissingWebXml>false</failOnMissingWebXml>
  98. <warName>${project.artifactId}</warName>
  99. </configuration>
  100. </plugin>
  101. </plugins>
  102. <finalName>${project.artifactId}</finalName>
  103. </build>
  104. </project>