pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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>hz</artifactId>
  7. <groupId>com.hz</groupId>
  8. <version>3.6.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>hz-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools -->
  18. <!-- <dependency>-->
  19. <!-- <groupId>org.springframework.boot</groupId>-->
  20. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  21. <!-- <optional>true</optional> &lt;!&ndash; 表示依赖不会传递 &ndash;&gt;-->
  22. <!-- </dependency>-->
  23. <!-- swagger3-->
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-boot-starter</artifactId>
  27. <version>3.0.0</version>
  28. </dependency>
  29. <!-- <dependency>-->
  30. <!-- <groupId>com.github.xiaoymin</groupId>-->
  31. <!-- <artifactId>knife4j-spring-boot-starter</artifactId>-->
  32. <!-- <version>3.0.3</version>-->
  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.hz</groupId>
  48. <artifactId>hz-framework</artifactId>
  49. </dependency>
  50. <!-- 定时任务-->
  51. <dependency>
  52. <groupId>com.hz</groupId>
  53. <artifactId>hz-quartz</artifactId>
  54. </dependency>
  55. <!-- 代码生成-->
  56. <dependency>
  57. <groupId>com.hz</groupId>
  58. <artifactId>hz-generator</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.hz</groupId>
  62. <artifactId>business</artifactId>
  63. <version>3.6.0</version>
  64. <scope>compile</scope>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-maven-plugin</artifactId>
  72. <version>2.1.1.RELEASE</version>
  73. <configuration>
  74. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  75. </configuration>
  76. <executions>
  77. <execution>
  78. <goals>
  79. <goal>repackage</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-war-plugin</artifactId>
  87. <version>3.1.0</version>
  88. <configuration>
  89. <failOnMissingWebXml>false</failOnMissingWebXml>
  90. <warName>${project.artifactId}</warName>
  91. </configuration>
  92. </plugin>
  93. </plugins>
  94. <finalName>${project.artifactId}</finalName>
  95. </build>
  96. </project>