pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. <!-- Mysql驱动包 -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- kingbase驱动 -->
  40. <!-- <dependency>-->
  41. <!-- <groupId>com.kingbase8.jdbc</groupId>-->
  42. <!-- <artifactId>kingbase8</artifactId>-->
  43. <!-- <scope>system</scope>-->
  44. <!-- </dependency>-->
  45. <!-- 核心模块-->
  46. <dependency>
  47. <groupId>com.ozs</groupId>
  48. <artifactId>base-framework</artifactId>
  49. </dependency>
  50. <!-- 定时任务-->
  51. <dependency>
  52. <groupId>com.ozs</groupId>
  53. <artifactId>base-quartz</artifactId>
  54. </dependency>
  55. <!-- 代码生成-->
  56. <dependency>
  57. <groupId>com.ozs</groupId>
  58. <artifactId>base-generator</artifactId>
  59. </dependency>
  60. <!-- 业务代码-->
  61. <dependency>
  62. <groupId>com.ozs</groupId>
  63. <artifactId>business-service</artifactId>
  64. <exclusions>
  65. <exclusion>
  66. <artifactId>mybatis-plus-extension</artifactId>
  67. <groupId>com.baomidou</groupId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <!-- <dependency>-->
  72. <!-- <groupId>com.ozs</groupId>-->
  73. <!-- <artifactId>business-service</artifactId>-->
  74. <!-- </dependency>-->
  75. </dependencies>
  76. <build>
  77. <plugins>
  78. <plugin>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-maven-plugin</artifactId>
  81. <version>2.1.1.RELEASE</version>
  82. <configuration>
  83. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>repackage</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-war-plugin</artifactId>
  96. <version>3.1.0</version>
  97. <configuration>
  98. <failOnMissingWebXml>false</failOnMissingWebXml>
  99. <warName>${project.artifactId}</warName>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. <finalName>${project.artifactId}</finalName>
  104. </build>
  105. </project>