pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <groupId>com.huashe</groupId>
  7. <artifactId>bd-park</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.huashe.bd-park</groupId>
  12. <artifactId>park-appliication</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <description>
  15. park-appliication核心模块
  16. </description>
  17. <properties>
  18. <maven.compiler.source>8</maven.compiler.source>
  19. <maven.compiler.target>8</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. </properties>
  22. <dependencies>
  23. <!-- spring-boot-devtools -->
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-devtools</artifactId>
  27. <optional>true</optional> <!-- 表示依赖不会传递 -->
  28. </dependency>
  29. <!-- swagger3-->
  30. <dependency>
  31. <groupId>io.springfox</groupId>
  32. <artifactId>springfox-boot-starter</artifactId>
  33. </dependency>
  34. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  35. <dependency>
  36. <groupId>io.swagger</groupId>
  37. <artifactId>swagger-models</artifactId>
  38. <version>1.6.2</version>
  39. </dependency>
  40. <!-- Mysql驱动包 -->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. </dependency>
  45. <!-- 核心模块-->
  46. <dependency>
  47. <groupId>com.huashe.application</groupId>
  48. <artifactId>ruoyi-framework</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.dtflys.forest</groupId>
  52. <artifactId>forest-spring-boot-starter</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>net.dreamlu</groupId>
  56. <artifactId>mica-mqtt-client-spring-boot-starter</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-websocket</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.huashe</groupId>
  64. <artifactId>park-common</artifactId>
  65. <version>1.0-SNAPSHOT</version>
  66. <scope>compile</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.huashe.park.application.bd-park</groupId>
  70. <artifactId>park-core</artifactId>
  71. <version>1.0-SNAPSHOT</version>
  72. <scope>compile</scope>
  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.5.15</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. <!--The configuration of maven-antrun-plugin 打zip包-->
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-antrun-plugin</artifactId>
  105. <version>1.8</version>
  106. <executions>
  107. <execution>
  108. <id>package</id>
  109. <phase>package</phase>
  110. <configuration>
  111. <target>
  112. <ant antfile="build.xml">
  113. <target name="Build"/>
  114. </ant>
  115. </target>
  116. </configuration>
  117. <goals>
  118. <goal>run</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. </plugins>
  124. <finalName>${project.artifactId}</finalName>
  125. </build>
  126. </project>