1
0

pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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>zhhf</artifactId>
  7. <groupId>com.zhhf</groupId>
  8. <version>4.8.3</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>zhhf-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- SpringBoot集成thymeleaf模板 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  21. </dependency>
  22. <!-- spring-doc -->
  23. <dependency>
  24. <groupId>org.springdoc</groupId>
  25. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  26. </dependency>
  27. <!-- Mysql驱动包 -->
  28. <dependency>
  29. <groupId>com.mysql</groupId>
  30. <artifactId>mysql-connector-j</artifactId>
  31. </dependency>
  32. <!-- 核心模块-->
  33. <dependency>
  34. <groupId>com.zhhf</groupId>
  35. <artifactId>zhhf-framework</artifactId>
  36. </dependency>
  37. <!-- 定时任务-->
  38. <dependency>
  39. <groupId>com.zhhf</groupId>
  40. <artifactId>zhhf-quartz</artifactId>
  41. </dependency>
  42. <!-- 代码生成-->
  43. <dependency>
  44. <groupId>com.zhhf</groupId>
  45. <artifactId>zhhf-generator</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.zhhf</groupId>
  49. <artifactId>zhhf-common</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-jdbc</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>jakarta.servlet</groupId>
  57. <artifactId>jakarta.servlet-api</artifactId>
  58. </dependency>
  59. </dependencies>
  60. <build>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-maven-plugin</artifactId>
  65. <configuration>
  66. <addResources>true</addResources>
  67. </configuration>
  68. <executions>
  69. <execution>
  70. <goals>
  71. <goal>repackage</goal>
  72. </goals>
  73. </execution>
  74. </executions>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-war-plugin</artifactId>
  79. <version>3.1.0</version>
  80. <configuration>
  81. <failOnMissingWebXml>false</failOnMissingWebXml>
  82. <warName>${project.artifactId}</warName>
  83. </configuration>
  84. </plugin>
  85. <!-- YUI Compressor (CSS/JS压缩)
  86. <plugin>
  87. <groupId>net.alchim31.maven</groupId>
  88. <artifactId>yuicompressor-maven-plugin</artifactId>
  89. <version>1.5.1</version>
  90. <executions>
  91. <execution>
  92. <phase>prepare-package</phase>
  93. <goals>
  94. <goal>compress</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. <configuration>
  99. <encoding>UTF-8</encoding>
  100. <jswarn>false</jswarn>
  101. <nosuffix>true</nosuffix>
  102. <linebreakpos>50000</linebreakpos>
  103. <sourceDirectory>src/main/resources/static</sourceDirectory>
  104. <force>true</force>
  105. <includes>
  106. <include>**/*.js</include>
  107. <include>**/*.css</include>
  108. </includes>
  109. <excludes>
  110. <exclude>**/*.min.js</exclude>
  111. <exclude>**/*.min.css</exclude>
  112. <exclude>**/fileinput.js</exclude>
  113. <exclude>**/validate/**</exclude>
  114. <exclude>**/bootstrap-table/**</exclude>
  115. </excludes>
  116. </configuration>
  117. </plugin> -->
  118. </plugins>
  119. <finalName>${project.artifactId}</finalName>
  120. </build>
  121. </project>