pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. <artifactId>vehicle-admin</artifactId>
  14. <name>vehicle-admin</name>
  15. <description>
  16. web服务入口
  17. </description>
  18. <dependencies>
  19. <!-- spring-boot-devtools -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-devtools</artifactId>
  23. <optional>true</optional> <!-- 表示依赖不会传递 -->
  24. </dependency>
  25. <!-- webSocket web端 消息推送 -->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-websocket</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.hikvision.ga</groupId>
  36. <artifactId>artemis-http-client</artifactId>
  37. <version>1.1.3</version>
  38. </dependency>
  39. <!-- swagger3-->
  40. <!-- <dependency>-->
  41. <!-- <groupId>io.springfox</groupId>-->
  42. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  43. <!-- </dependency>-->
  44. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  45. <dependency>
  46. <groupId>io.swagger</groupId>
  47. <artifactId>swagger-models</artifactId>
  48. <version>1.6.2</version>
  49. </dependency>
  50. <!-- Mysql驱动包 -->
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. </dependency>
  55. <!-- kingbase驱动 -->
  56. <!-- <dependency>-->
  57. <!-- <groupId>com.kingbase8.jdbc</groupId>-->
  58. <!-- <artifactId>kingbase8</artifactId>-->
  59. <!-- <scope>system</scope>-->
  60. <!-- </dependency>-->
  61. <!-- 核心模块-->
  62. <dependency>
  63. <groupId>com.ozs</groupId>
  64. <artifactId>base-framework</artifactId>
  65. </dependency>
  66. <!-- 定时任务-->
  67. <dependency>
  68. <groupId>com.ozs</groupId>
  69. <artifactId>base-quartz</artifactId>
  70. </dependency>
  71. <!-- 代码生成-->
  72. <dependency>
  73. <groupId>com.ozs</groupId>
  74. <artifactId>base-generator</artifactId>
  75. </dependency>
  76. <!-- 业务代码-->
  77. <dependency>
  78. <groupId>com.ozs</groupId>
  79. <artifactId>business-service</artifactId>
  80. <exclusions>
  81. <exclusion>
  82. <artifactId>mybatis-plus-extension</artifactId>
  83. <groupId>com.baomidou</groupId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <!-- <dependency>-->
  88. <!-- <groupId>com.ozs</groupId>-->
  89. <!-- <artifactId>business-service</artifactId>-->
  90. <!-- </dependency>-->
  91. </dependencies>
  92. <build>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-maven-plugin</artifactId>
  97. <version>2.1.1.RELEASE</version>
  98. <configuration>
  99. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  100. </configuration>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>repackage</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-war-plugin</artifactId>
  112. <version>3.1.0</version>
  113. <configuration>
  114. <failOnMissingWebXml>false</failOnMissingWebXml>
  115. <warName>${project.artifactId}</warName>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. <finalName>${project.artifactId}</finalName>
  120. </build>
  121. </project>