pom.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.yccrc</groupId>
  7. <artifactId>yccrc</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yccrc-kede</artifactId>
  12. <description>科德项目</description>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-test</artifactId>
  17. <scope>provided</scope>
  18. </dependency>
  19. <!-- 依赖-->
  20. <dependency>
  21. <groupId>com.yccrc</groupId>
  22. <artifactId>yccrc-admin</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-mail</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>junit</groupId>
  30. <artifactId>junit</artifactId>
  31. <version>4.8</version>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.deepoove</groupId>
  36. <artifactId>poi-tl</artifactId>
  37. <version>1.10.0</version>
  38. </dependency>
  39. <!-- 其他依赖 -->
  40. <dependency>
  41. <groupId>org.apache.commons</groupId>
  42. <artifactId>commons-compress</artifactId>
  43. <version>1.21</version> <!-- 使用适当的版本号 -->
  44. </dependency>
  45. </dependencies>
  46. <build>
  47. <plugins>
  48. <plugin>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-maven-plugin</artifactId>
  51. <version>2.1.1.RELEASE</version>
  52. <configuration>
  53. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  54. </configuration>
  55. <executions>
  56. <execution>
  57. <goals>
  58. <goal>repackage</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-war-plugin</artifactId>
  66. <version>3.1.0</version>
  67. <configuration>
  68. <failOnMissingWebXml>false</failOnMissingWebXml>
  69. <warName>${project.artifactId}</warName>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. <finalName>${project.artifactId}</finalName>
  74. </build>
  75. </project>