pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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>eitc</artifactId>
  7. <groupId>com.eitc</groupId>
  8. <version>3.8.7</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>eitc-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> <!-- 表示依赖不会传递 -->
  22. </dependency>
  23. <!-- swagger3-->
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-boot-starter</artifactId>
  27. </dependency>
  28. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  29. <dependency>
  30. <groupId>io.swagger</groupId>
  31. <artifactId>swagger-models</artifactId>
  32. <version>1.6.2</version>
  33. </dependency>
  34. <!-- Mysql驱动包 -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- 核心模块-->
  40. <dependency>
  41. <groupId>com.eitc</groupId>
  42. <artifactId>eitc-framework</artifactId>
  43. </dependency>
  44. <!-- 定时任务-->
  45. <dependency>
  46. <groupId>com.eitc</groupId>
  47. <artifactId>eitc-quartz</artifactId>
  48. </dependency>
  49. <!-- 代码生成-->
  50. <dependency>
  51. <groupId>com.eitc</groupId>
  52. <artifactId>eitc-generator</artifactId>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-maven-plugin</artifactId>
  60. <version>2.5.15</version>
  61. <configuration>
  62. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  63. </configuration>
  64. <executions>
  65. <execution>
  66. <goals>
  67. <goal>repackage</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-war-plugin</artifactId>
  75. <version>3.1.0</version>
  76. <configuration>
  77. <failOnMissingWebXml>false</failOnMissingWebXml>
  78. <warName>${project.artifactId}</warName>
  79. </configuration>
  80. </plugin>
  81. </plugins>
  82. <finalName>${project.artifactId}</finalName>
  83. </build>
  84. </project>