pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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.ozs</groupId>
  7. <artifactId>purchase</artifactId>
  8. <version>1.0.0</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <packaging>jar</packaging>
  13. <artifactId>purchase-admin</artifactId>
  14. <description>
  15. web服务入口
  16. </description>
  17. <dependencies>
  18. <!-- spring-boot-devtools -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-devtools</artifactId>
  22. <optional>true</optional> <!-- 表示依赖不会传递 -->
  23. </dependency>
  24. <!-- Mysql驱动包 -->
  25. <dependency>
  26. <groupId>mysql</groupId>
  27. <artifactId>mysql-connector-java</artifactId>
  28. </dependency>
  29. <!-- 核心模块-->
  30. <dependency>
  31. <groupId>com.ozs</groupId>
  32. <artifactId>purchase-framework</artifactId>
  33. <version>1.0.0</version>
  34. </dependency>
  35. <!-- 定时任务-->
  36. <dependency>
  37. <groupId>com.ozs</groupId>
  38. <artifactId>purchase-quartz</artifactId>
  39. </dependency>
  40. <!-- 代码生成-->
  41. <dependency>
  42. <groupId>com.ozs</groupId>
  43. <artifactId>purchase-generator</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>easyexcel</artifactId>
  48. <version>2.1.6</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.xmlbeans</groupId>
  52. <artifactId>xmlbeans</artifactId>
  53. <version>3.1.0</version>
  54. </dependency>
  55. <!-- <dependency>-->
  56. <!-- <groupId>org.apache.poi</groupId>-->
  57. <!-- <artifactId>poi</artifactId>-->
  58. <!-- <version>3.10-FINAL</version>-->
  59. <!-- </dependency>-->
  60. <!-- <dependency>-->
  61. <!-- <groupId>org.apache.poi</groupId>-->
  62. <!-- <artifactId>poi-ooxml</artifactId>-->
  63. <!-- <version>3.10-FINAL</version>-->
  64. <!-- </dependency>-->
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-maven-plugin</artifactId>
  71. <version>2.1.1.RELEASE</version>
  72. <configuration>
  73. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <goals>
  78. <goal>repackage</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-war-plugin</artifactId>
  86. <version>3.1.0</version>
  87. <configuration>
  88. <failOnMissingWebXml>false</failOnMissingWebXml>
  89. <warName>${project.artifactId}</warName>
  90. </configuration>
  91. </plugin>
  92. </plugins>
  93. <finalName>${project.artifactId}</finalName>
  94. </build>
  95. </project>