pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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>zhongzheng</artifactId>
  7. <groupId>com.zhongzheng</groupId>
  8. <version>3.4.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>zhongzheng-api</artifactId>
  13. <repositories>
  14. <repository>
  15. <id>com.e-iceblue</id>
  16. <url>https://repo.e-iceblue.cn/repository/maven-public/</url>
  17. </repository>
  18. </repositories>
  19. <dependencies>
  20. <!-- spring-boot-devtools -->
  21. <dependency>
  22. <groupId> e-iceblue </groupId>
  23. <artifactId>spire.pdf</artifactId>
  24. <version>3.11.6</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-devtools</artifactId>
  29. <optional>true</optional> <!-- 表示依赖不会传递 -->
  30. </dependency>
  31. <!-- &lt;!&ndash; swagger2&ndash;&gt;-->
  32. <!-- <dependency>-->
  33. <!-- <groupId>io.springfox</groupId>-->
  34. <!-- <artifactId>springfox-swagger2</artifactId>-->
  35. <!-- </dependency>-->
  36. <!-- &lt;!&ndash;防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本&ndash;&gt;-->
  37. <!-- <dependency>-->
  38. <!-- <groupId>io.swagger</groupId>-->
  39. <!-- <artifactId>swagger-annotations</artifactId>-->
  40. <!-- <version>1.5.21</version>-->
  41. <!-- </dependency>-->
  42. <!-- <dependency>-->
  43. <!-- <groupId>io.swagger</groupId>-->
  44. <!-- <artifactId>swagger-models</artifactId>-->
  45. <!-- <version>1.5.21</version>-->
  46. <!-- </dependency>-->
  47. <!-- <dependency>-->
  48. <!-- <groupId>com.github.xiaoymin</groupId>-->
  49. <!-- <artifactId>swagger-bootstrap-ui</artifactId>-->
  50. <!-- </dependency>-->
  51. <dependency>
  52. <groupId>com.github.xiaoymin</groupId>
  53. <artifactId>knife4j-spring-boot-starter</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.freemarker</groupId>
  57. <artifactId>freemarker</artifactId>
  58. <version>2.3.28</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>ognl</groupId>
  62. <artifactId>ognl</artifactId>
  63. <version>3.1.12</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>javax.xml.bind</groupId>
  67. <artifactId>jaxb-api</artifactId>
  68. <version>2.1</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.sun.xml.bind</groupId>
  72. <artifactId>jaxb-impl</artifactId>
  73. <version>2.3.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.sun.xml.bind</groupId>
  77. <artifactId>jaxb-core</artifactId>
  78. <version>2.3.0</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>javax.activation</groupId>
  82. <artifactId>activation</artifactId>
  83. <version>1.1.1</version>
  84. </dependency>
  85. <!-- Mysql驱动包 -->
  86. <dependency>
  87. <groupId>mysql</groupId>
  88. <artifactId>mysql-connector-java</artifactId>
  89. </dependency>
  90. <!-- 核心模块-->
  91. <dependency>
  92. <groupId>com.zhongzheng</groupId>
  93. <artifactId>zhongzheng-framework</artifactId>
  94. </dependency>
  95. </dependencies>
  96. <build>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <version>2.1.1.RELEASE</version>
  102. <configuration>
  103. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <goals>
  108. <goal>repackage</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-war-plugin</artifactId>
  116. <version>3.1.0</version>
  117. <configuration>
  118. <failOnMissingWebXml>false</failOnMissingWebXml>
  119. <warName>${project.artifactId}</warName>
  120. </configuration>
  121. </plugin>
  122. </plugins>
  123. <finalName>${project.artifactId}</finalName>
  124. </build>
  125. </project>